# HG changeset patch # User ymh # Date 1428660541 -7200 # Node ID 9d45f0db08f3326b397bbfe657211e29c8782bd9 # Parent 0aaa9120e754bb7959eadd80e5149ef972390c60 set celery conf to avoid deprecation warning on serializer diff -r 0aaa9120e754 -r 9d45f0db08f3 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']