Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions djcelery/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from django.http import HttpResponse, Http404

from anyjson import serialize
import simplejson as json

from celery import states
from celery.five import keys, items
Expand All @@ -18,7 +18,7 @@


def JsonResponse(response):
return HttpResponse(serialize(response), content_type='application/json')
return HttpResponse(json.dumps(response), content_type='application/json')


def task_view(task):
Expand Down
1 change: 1 addition & 0 deletions requirements/default.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
celery>=3.1.26,<4.0.0
simplejson
Loading