From 17671f1a64c70704d5ab64c0ca6d987bbd32e8a3 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Fri, 26 Dec 2014 12:42:43 +0100 Subject: [PATCH] change default serializer to json --- gvafile/gvafile/settings/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gvafile/gvafile/settings/base.py b/gvafile/gvafile/settings/base.py index ccdea65..ef96035 100644 --- a/gvafile/gvafile/settings/base.py +++ b/gvafile/gvafile/settings/base.py @@ -282,6 +282,6 @@ BROKER_URL = get_env_setting('GVAFILE_BROKER_URL') CELERY_RESULT_BACKEND = 'amqp' CELERY_RESULT_PERSISTENT = True CELERY_TASK_RESULT_EXPIRES = None -CELERY_ACCEPT_CONTENT = ['yaml'] -CELERY_RESULT_SERIALIZER = 'yaml' +CELERY_ACCEPT_CONTENT = ['yaml', 'json'] +CELERY_RESULT_SERIALIZER = 'json' ########## END CELERY CONFIGURATION