set celery conf to avoid deprecation warning on serializer
authorymh <ymh.work@gmail.com>
Fri, 10 Apr 2015 12:09:01 +0200
changeset 78 9d45f0db08f3
parent 77 0aaa9120e754
child 79 85ddff64eb3e
set celery conf to avoid deprecation warning on serializer
src/catedit/settings.py
--- a/src/catedit/settings.py	Fri Apr 10 11:23:55 2015 +0200
+++ b/src/catedit/settings.py	Fri Apr 10 12:09:01 2015 +0200
@@ -14,4 +14,6 @@
     # RDF Namespace and prefixes - Must end with #
 
     BASE_NAMESPACE = "http://ld.iri-research.org/ontology/categorisation"
-    CATEGORY_NAMESPACE = Namespace("http://ld.iri-research.org/ontology/categorisation/category#")
\ No newline at end of file
+    CATEGORY_NAMESPACE = Namespace("http://ld.iri-research.org/ontology/categorisation/category#")
+    CELERY_TASK_SERIALIZER = 'json'
+    CELERY_ACCEPT_CONTENT = ['json', 'msgpack', 'yaml']