Преглед на файлове

Merge remote-tracking branch 'remotes/origin/ming' into test

Ansjer преди 2 години
родител
ревизия
f39d338040
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Object/ResponseObject.py

+ 1 - 1
Object/ResponseObject.py

@@ -258,4 +258,4 @@ class ResponseObject(object):
         if res is None:
             res = {}
         result = self.formal(code, res)
-        return HttpResponse(result)
+        return HttpResponse(result, content_type='application/json,charset=utf-8')