define celery timezone, restrict celery content to json

This commit is contained in:
Jan Dittberner 2014-12-29 12:59:14 +01:00
parent 9d370cea60
commit 33b28c5598

View file

@ -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