mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-25 19:14:03 +03:00
fix celery configuration in local.py
This commit is contained in:
parent
90ed4f81e2
commit
c9f500116d
|
@ -5,6 +5,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
## [2015-11-24]
|
## [2015-11-24]
|
||||||
### Changed
|
### Changed
|
||||||
- Update version of Django, coverage and click (@luzfcb)
|
- Update version of Django, coverage and click (@luzfcb)
|
||||||
|
- Fixed configuration for Celery in local.py. (@luzfcb @hackebrot)
|
||||||
|
|
||||||
## [2015-11-23]
|
## [2015-11-23]
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -60,7 +60,7 @@ INSTALLED_APPS += ('django_extensions', )
|
||||||
# TESTING
|
# TESTING
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
TEST_RUNNER = 'django.test.runner.DiscoverRunner'
|
TEST_RUNNER = 'django.test.runner.DiscoverRunner'
|
||||||
{% if cookiecutter.celery_support == "y" %}
|
{% if cookiecutter.use_celery == "y" %}
|
||||||
########## CELERY
|
########## CELERY
|
||||||
# In development, all tasks will be executed locally by blocking until the task returns
|
# In development, all tasks will be executed locally by blocking until the task returns
|
||||||
CELERY_ALWAYS_EAGER = True
|
CELERY_ALWAYS_EAGER = True
|
||||||
|
|
Loading…
Reference in New Issue
Block a user