signal backend, app cleanup
This commit is contained in:
parent
4b157ed1d1
commit
6f18890739
43 changed files with 695 additions and 124 deletions
8
app/item/utils.py
Normal file
8
app/item/utils.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import json
|
||||
from django.http import Http404, HttpResponse
|
||||
|
||||
|
||||
def render_to_json(response):
|
||||
content = json.dumps(response)
|
||||
return HttpResponse(content, 'application/json; charset=utf-8')
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue