mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-09 08:00:50 +03:00
Fix missing celery env variable when running compilemessages (#4403)
This commit is contained in:
parent
1e40d7908f
commit
7ad2e1fdae
|
@ -122,6 +122,9 @@ RUN chown django:django ${APP_HOME}
|
||||||
USER django
|
USER django
|
||||||
|
|
||||||
RUN DATABASE_URL="" \
|
RUN DATABASE_URL="" \
|
||||||
|
{%- if cookiecutter.use_celery == "y" %}
|
||||||
|
CELERY_BROKER_URL="" \
|
||||||
|
{%- endif %}
|
||||||
DJANGO_SETTINGS_MODULE="config.settings.test" \
|
DJANGO_SETTINGS_MODULE="config.settings.test" \
|
||||||
python manage.py compilemessages
|
python manage.py compilemessages
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user