Fix syntax error in local settings template

This commit is contained in:
Bruno Alla 2018-06-16 15:15:52 +01:00
parent 6c8a53df52
commit 3167e4bfda

View File

@ -10,7 +10,7 @@ SECRET_KEY = env('DJANGO_SECRET_KEY', default='!!!SET DJANGO_SECRET_KEY!!!')
# https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts # https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
ALLOWED_HOSTS = [ ALLOWED_HOSTS = [
"localhost", "localhost",
{ % - if cookiecutter.js_task_runner == 'Gulp' and cookiecutter.use_docker == 'y' %} {%- if cookiecutter.js_task_runner == 'Gulp' and cookiecutter.use_docker == 'y' %}
"django", "django",
{%- endif %} {%- endif %}
"0.0.0.0", "0.0.0.0",