mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-15 09:24:52 +03:00
Adding celery broker URL
This commit is contained in:
parent
77b1d06e87
commit
a17c3d1607
|
@ -17,6 +17,9 @@ import django
|
|||
{% if cookiecutter.use_docker == 'y' %}
|
||||
sys.path.insert(0, os.path.abspath("/app"))
|
||||
os.environ.setdefault("DATABASE_URL", "")
|
||||
{% if cookiecutter.use_celery == 'y' -%}
|
||||
os.environ.setdefault("CELERY_BROKER_URL", "")
|
||||
{%- endif %}
|
||||
{% else %}
|
||||
sys.path.insert(0, os.path.abspath(".."))
|
||||
{%- endif %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user