Fix celery settings

remotes/origin/issue/4217/improving-mail-design
David Barragán Merino 2017-02-27 16:15:13 +01:00
parent c5cb31521f
commit 1879cb76ae
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ from kombu import Exchange, Queue
BROKER_URL = 'amqp://guest:guest@localhost:5672//'
CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
CELERY_ACCEPT_CONTENT = ['pickle',] # Values are 'pickle', 'json', 'msgpack' and 'yaml'
CELERY_TIMEZONE = 'Europe/Madrid'
CELERY_ENABLE_UTC = True