Update {{cookiecutter.project_slug}}/config/settings/production.py

Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
This commit is contained in:
Alex Kanavos 2024-08-05 21:59:38 +02:00 committed by GitHub
parent 61f11cefc2
commit 10b27fa5aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -224,10 +224,11 @@ DEFAULT_FROM_EMAIL = env(
# https://docs.djangoproject.com/en/dev/ref/settings/#server-email
SERVER_EMAIL = env("DJANGO_SERVER_EMAIL", default=DEFAULT_FROM_EMAIL)
# https://docs.djangoproject.com/en/dev/ref/settings/#email-subject-prefix
ACCOUNT_EMAIL_SUBJECT_PREFIX = env(
"DJANGO_ACCOUNT_EMAIL_SUBJECT_PREFIX",
EMAIL_SUBJECT_PREFIX = env(
"DJANGO_EMAIL_SUBJECT_PREFIX",
default="[{{cookiecutter.project_name}}] ",
)
ACCOUNT_EMAIL_SUBJECT_PREFIX = EMAIL_SUBJECT_PREFIX
# ADMIN
# ------------------------------------------------------------------------------