mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-30 05:24:01 +03:00
Oops - revert celery defaults change, separate PR
This commit is contained in:
parent
362f86a4c1
commit
76a207d8da
|
@ -256,14 +256,11 @@ LOGGING = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{% if cookiecutter.use_celery == "y" %}
|
{% if cookiecutter.use_celery == "y" %}
|
||||||
# ######### CELERY
|
########## CELERY
|
||||||
INSTALLED_APPS += ('{{cookiecutter.repo_name}}.taskapp.celery.CeleryConfig',)
|
INSTALLED_APPS += ('{{cookiecutter.repo_name}}.taskapp.celery.CeleryConfig',)
|
||||||
# if you are not using the django database broker (e.g. rabbitmq, redis, memcached), you can remove the next line.
|
# if you are not using the django database broker (e.g. rabbitmq, redis, memcached), you can remove the next line.
|
||||||
INSTALLED_APPS += ('kombu.transport.django',)
|
INSTALLED_APPS += ('kombu.transport.django',)
|
||||||
BROKER_URL = env("CELERY_BROKER_URL", default='django://')
|
BROKER_URL = env("CELERY_BROKER_URL", default='django://')
|
||||||
CELERY_ACCEPT_CONTENT = ['json']
|
########## END CELERY
|
||||||
CELERY_TASK_SERIALIZER = 'json'
|
|
||||||
CELERY_RESULT_SERIALIZER = 'json'
|
|
||||||
# ######### END CELERY
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
# Your common stuff: Below this line define 3rd party library settings
|
# Your common stuff: Below this line define 3rd party library settings
|
||||||
|
|
Loading…
Reference in New Issue
Block a user