define celery timezone, restrict celery content to json

This commit is contained in:
Jan Dittberner 2014-12-29 13:00:19 +01:00
parent c0ab9de3f7
commit cdbaa3ca36

View file

@ -294,7 +294,9 @@ CELERY_ROUTES = (
'gvacommon.celeryrouters.LdapRouter', 'gvacommon.celeryrouters.LdapRouter',
'gvacommon.celeryrouters.FileRouter', 'gvacommon.celeryrouters.FileRouter',
) )
CELERY_ACCEPT_CONTENT = ['pickle', 'yaml', 'json'] CELERY_TIMEZONE = 'Europe/Berlin'
CELERY_ENABLE_UTC = True
CELERY_ACCEPT_CONTENT = ['json']
CELERY_TASK_SERAILIZER = 'json' CELERY_TASK_SERAILIZER = 'json'
CELERY_RESULT_SERIALIZER = 'json' CELERY_RESULT_SERIALIZER = 'json'
########## END CELERY CONFIGURATION ########## END CELERY CONFIGURATION