diff oembed/views.py @ 679:89b240fe9297

For Django 1.5.2: import json; django.utils.simplejson is deprecated.
author Brian Neal <bgneal@gmail.com>
date Thu, 15 Aug 2013 20:14:33 -0500
parents ee87ea74d46b
children 344f7914d421
line wrap: on
line diff
--- a/oembed/views.py	Wed Aug 14 14:53:21 2013 -0500
+++ b/oembed/views.py	Thu Aug 15 20:14:33 2013 -0500
@@ -1,13 +1,13 @@
 """
 Views for the oembed application.
+
 """
+import json
 import re
-import urllib2
 
 from django.http import HttpResponse
 from django.http import HttpResponseBadRequest
 from django.http import HttpResponseForbidden
-import django.utils.simplejson as json
 from django.conf import settings
 
 from oembed.models import Provider