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