diff gpp/oembed/views.py @ 287:47a7138fcccb

Fix typo in oembed/views.py. Added oembed provider fixture.
author Brian Neal <bgneal@gmail.com>
date Sat, 23 Oct 2010 20:42:45 +0000
parents 72fd300685d5
children 6d6fdc58487c
line wrap: on
line diff
--- a/gpp/oembed/views.py	Sat Oct 23 20:19:46 2010 +0000
+++ b/gpp/oembed/views.py	Sat Oct 23 20:42:45 2010 +0000
@@ -62,7 +62,7 @@
             return HttpResponse(json.dumps(data),
                     content_type='application/json')
 
-    return HttpBadRequest("Sorry, we couldn't find that video.")
+    return HttpResponseBadRequest("Sorry, we couldn't find that video.")
 
 
 def fetch_saved_media(request):