mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-10 15:04:52 +03:00
Fix formatting to comply to black style
This commit is contained in:
parent
8c82dadb1f
commit
52eebeea1d
|
@ -266,6 +266,7 @@ def remove_celery_compose_dirs():
|
||||||
shutil.rmtree(os.path.join("compose", "local", "django", "celery"))
|
shutil.rmtree(os.path.join("compose", "local", "django", "celery"))
|
||||||
shutil.rmtree(os.path.join("compose", "production", "django", "celery"))
|
shutil.rmtree(os.path.join("compose", "production", "django", "celery"))
|
||||||
|
|
||||||
|
|
||||||
def remove_node_dockerfile():
|
def remove_node_dockerfile():
|
||||||
shutil.rmtree(os.path.join("compose", "local", "node"))
|
shutil.rmtree(os.path.join("compose", "local", "node"))
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ SECRET_KEY = env(
|
||||||
default="!!!SET 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 = ["localhost", {% if cookiecutter.js_task_runner == 'Gulp' and cookiecutter.use_docker == 'y' %} "django",{% endif %} "0.0.0.0", "127.0.0.1"]
|
ALLOWED_HOSTS = ["localhost",{% if cookiecutter.js_task_runner == 'Gulp' and cookiecutter.use_docker == 'y' %} "django",{% endif %} "0.0.0.0", "127.0.0.1"]
|
||||||
|
|
||||||
# CACHES
|
# CACHES
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user