mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Use Django's inbuilt simplejson
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
import simplejson as json
|
||||
try:
|
||||
from django.utils import simplejson as json
|
||||
except ImportError:
|
||||
try:
|
||||
import simplejson as json
|
||||
except ImportError:
|
||||
raise ImportError("simplejson is required for this library to work")
|
||||
|
||||
import urllib2
|
||||
import urllib
|
||||
from datetime import datetime
|
||||
|
||||
Reference in New Issue
Block a user