Comment 2 for bug 1003073

Revision history for this message
Steve Keller (skeller-ea) wrote :

I looked at the fix of this bug, unfortunately it is incomplete. It does fix the import error, but someone needs to regularize the use of simplejson vs. json. The fix does this:

try:
  import json
except ImportError:
  import simplejson as json

Unfortunately, later in the same file this appears:

    return HttpResponse(simplejson.dumps(result), mimetype="application/json")

This same situation appears in graphite.graphlot.views as well.