mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-11 08:32:21 +03:00
Moved CELERY_BROKER_URL definition to .django env file to resolve error when Celery is not used (PR #1693)
This commit is contained in:
parent
d79f122bc9
commit
7c69704f9f
|
@ -5,9 +5,6 @@ set -o pipefail
|
||||||
set -o nounset
|
set -o nounset
|
||||||
|
|
||||||
|
|
||||||
# N.B. If only .env files supported variable expansion...
|
|
||||||
export CELERY_BROKER_URL="${REDIS_URL}"
|
|
||||||
|
|
||||||
if [ -z "${POSTGRES_USER}" ]; then
|
if [ -z "${POSTGRES_USER}" ]; then
|
||||||
base_postgres_image_default_user='postgres'
|
base_postgres_image_default_user='postgres'
|
||||||
export POSTGRES_USER="${base_postgres_image_default_user}"
|
export POSTGRES_USER="${base_postgres_image_default_user}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user