The django.utils.simplejson module was removed in Django 1.7.
Signed-off-by: Jason Stephenson <jason@sigio.com>
import subprocess
from django.conf import settings
from urllib2 import urlopen
-from django.utils import simplejson
+import simplejson
try:
from conifer.libsystems.evergreen import opensrf
except ImportError:
import uwindsor_fuzzy_lookup
from django.conf import settings
from urllib2 import urlopen
-from django.utils import simplejson
+import simplejson
class UWindsorIntegration(EvergreenIntegration):
import warnings
import urllib2
from urllib import quote
-from django.utils import simplejson as json
+import simplejson as json
from xml.etree import ElementTree
import re
import sys, os
from django.contrib.auth.models import AnonymousUser, User
from django.db import models as m
from django.db.models import Q
-from django.utils import simplejson as json
+import simplejson as json
from django.utils.translation import ugettext as _
from genshi import Markup
HttpResponseNotFound,
HttpResponseForbidden)
from django.shortcuts import get_object_or_404
-from django.utils import simplejson
+import simplejson
from django.utils import translation
from _generics import * # TODO: should not import-star