force json serialisation
authorymh <ymh.work@gmail.com>
Wed, 15 Apr 2015 03:45:02 +0200
changeset 109 b5380791ca15
parent 108 076117065fd7
child 110 f8f0bf90aff1
force json serialisation
src/catedit/settings.py
--- a/src/catedit/settings.py	Wed Apr 15 03:39:04 2015 +0200
+++ b/src/catedit/settings.py	Wed Apr 15 03:45:02 2015 +0200
@@ -17,5 +17,6 @@
     CATEGORY_NAMESPACE = Namespace("http://ld.iri-research.org/ontology/categorisation/category#")
     CELERY_IGNORE_RESULT = False
     CELERY_TASK_SERIALIZER = 'json'
+    CELERY_RESULT_SERIALIZER = 'json'
     CELERY_ACCEPT_CONTENT = ['json', 'msgpack', 'yaml']
     CELERY_DISABLE_RATE_LIMITS = True