Commits

George Notaras committed 1198903

Use simplejson supplied by Django

Comments (0)

Files changed (4)

 django-oembed-works
 Django
 sphinx
-simplejson
-cElementTree

src/oembed_works/models.py

 #  limitations under the License.
 #
 
-import simplejson
-
 from django.db import models
+from django.utils import simplejson
 
 from oembed_works import oembed
 

src/oembed_works/oembed.py

 import urllib
 import urllib2
 import re
-import simplejson
+from django.utils import simplejson
 
 try:    # Python version 2.5 or newer
     try:

src/oembed_works/templatetags/oembed_works_tags.py

 #  limitations under the License.
 #
 
-import simplejson
 import re
 try:
     import hashlib
 from django import template
 from django.template.loader import render_to_string
 from django.db.models.loading import cache
+from django.utils import simplejson
 
 from oembed_works import oembed
 from oembed_works.exceptions import OEmbedSizeError