From 33b28c55989c66e23200e43e75f16c16ae25ee7d Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Mon, 29 Dec 2014 12:59:14 +0100 Subject: [PATCH] define celery timezone, restrict celery content to json --- gvafile/gvafile/settings/base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gvafile/gvafile/settings/base.py b/gvafile/gvafile/settings/base.py index fc83245..4984ea6 100644 --- a/gvafile/gvafile/settings/base.py +++ b/gvafile/gvafile/settings/base.py @@ -286,7 +286,9 @@ CELERY_ROUTES = ( 'gvacommon.celeryrouters.LdapRouter', 'gvacommon.celeryrouters.FileRouter', ) -CELERY_ACCEPT_CONTENT = ['pickle', 'yaml', 'json'] +CELERY_TIMEZONE = 'Europe/Berlin' +CELERY_ENABLE_UTC = True +CELERY_ACCEPT_CONTENT = ['json'] CELERY_TASK_SERIALIZER = 'json' CELERY_RESULT_SERIALIZER = 'json' ########## END CELERY CONFIGURATION