mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-26 09:14:30 +03:00
now passes flake8
This commit is contained in:
parent
eadd3e77f8
commit
073666e09c
|
@ -255,7 +255,6 @@ LOGGING = {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
{% if cookiecutter.use_celery == "y" %}
|
{% if cookiecutter.use_celery == "y" %}
|
||||||
########## CELERY
|
########## CELERY
|
||||||
# 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.
|
||||||
|
@ -263,5 +262,4 @@ INSTALLED_APPS += ('kombu.transport.django',)
|
||||||
BROKER_URL = env("CELERY_BROKER_URL", default='django://')
|
BROKER_URL = env("CELERY_BROKER_URL", default='django://')
|
||||||
########## END CELERY
|
########## 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
|
||||||
|
|
|
@ -58,12 +58,10 @@ 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.celery_support == "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
|
||||||
########## END CELERY
|
########## END CELERY
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Your local stuff: Below this line define 3rd party library settings
|
# Your local stuff: Below this line define 3rd party library settings
|
||||||
|
|
Loading…
Reference in New Issue
Block a user