Skip to content

Commit 8893592

Browse files
author
Scott Bradley
committed
Fixes simplejson; moves static files into app specific folder
1 parent d362c94 commit 8893592

33 files changed

+2
-2
lines changed

fileupload/response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# encoding: utf-8
2+
import json
23
from django.http import HttpResponse
3-
from django.utils import simplejson
44

55
MIMEANY = '*/*'
66
MIMEJSON = 'application/json'
@@ -34,5 +34,5 @@ def a_iew(request):
3434
"""
3535
def __init__(self, obj='', json_opts=None, mimetype=MIMEJSON, *args, **kwargs):
3636
json_opts = json_opts if isinstance(json_opts, dict) else {}
37-
content = simplejson.dumps(obj, **json_opts)
37+
content = json.dumps(obj, **json_opts)
3838
super(JSONResponse, self).__init__(content, mimetype, *args, **kwargs)
File renamed without changes.

0 commit comments

Comments
 (0)