mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-01 10:49:50 +03:00
#342 Flake8 fix for tox tests
This commit is contained in:
parent
2a8be0b06f
commit
1a3797260d
|
@ -239,12 +239,9 @@ BROKER_URL = env('CELERY_BROKER_URL', default='django://')
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
{% if cookiecutter.use_compressor == 'y'-%}
|
{% if cookiecutter.use_compressor == 'y'-%}
|
||||||
INSTALLED_APPS += ("compressor", )
|
INSTALLED_APPS += ("compressor", )
|
||||||
|
|
||||||
STATICFILES_FINDERS += ("compressor.finders.CompressorFinder", )
|
STATICFILES_FINDERS += ("compressor.finders.CompressorFinder", )
|
||||||
|
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
|
|
||||||
# Location of root django.contrib.admin URL, use {% raw %}{% url 'admin:index' %}{% endraw %}
|
# Location of root django.contrib.admin URL, use {% raw %}{% url 'admin:index' %}{% endraw %}
|
||||||
ADMIN_URL = r'^admin/'
|
ADMIN_URL = r'^admin/'
|
||||||
|
|
||||||
|
|
|
@ -164,7 +164,6 @@ ANYMAIL = {
|
||||||
"MAILGUN_API_KEY": env('DJANGO_MAILGUN_API_KEY'),
|
"MAILGUN_API_KEY": env('DJANGO_MAILGUN_API_KEY'),
|
||||||
}
|
}
|
||||||
EMAIL_BACKEND = "anymail.backends.mailgun.MailgunBackend"
|
EMAIL_BACKEND = "anymail.backends.mailgun.MailgunBackend"
|
||||||
|
|
||||||
{% if cookiecutter.use_newrelic == 'y'-%}# NEW RELIC
|
{% if cookiecutter.use_newrelic == 'y'-%}# NEW RELIC
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
NEW_RELIC_LICENSE_KEY = env('NEW_RELIC_LICENSE_KEY')
|
NEW_RELIC_LICENSE_KEY = env('NEW_RELIC_LICENSE_KEY')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user