mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-07 21:44:52 +03:00
Update {{cookiecutter.project_slug}}/config/settings/production.py
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
This commit is contained in:
parent
61f11cefc2
commit
10b27fa5aa
|
@ -224,10 +224,11 @@ DEFAULT_FROM_EMAIL = env(
|
||||||
# https://docs.djangoproject.com/en/dev/ref/settings/#server-email
|
# https://docs.djangoproject.com/en/dev/ref/settings/#server-email
|
||||||
SERVER_EMAIL = env("DJANGO_SERVER_EMAIL", default=DEFAULT_FROM_EMAIL)
|
SERVER_EMAIL = env("DJANGO_SERVER_EMAIL", default=DEFAULT_FROM_EMAIL)
|
||||||
# https://docs.djangoproject.com/en/dev/ref/settings/#email-subject-prefix
|
# https://docs.djangoproject.com/en/dev/ref/settings/#email-subject-prefix
|
||||||
ACCOUNT_EMAIL_SUBJECT_PREFIX = env(
|
EMAIL_SUBJECT_PREFIX = env(
|
||||||
"DJANGO_ACCOUNT_EMAIL_SUBJECT_PREFIX",
|
"DJANGO_EMAIL_SUBJECT_PREFIX",
|
||||||
default="[{{cookiecutter.project_name}}] ",
|
default="[{{cookiecutter.project_name}}] ",
|
||||||
)
|
)
|
||||||
|
ACCOUNT_EMAIL_SUBJECT_PREFIX = EMAIL_SUBJECT_PREFIX
|
||||||
|
|
||||||
# ADMIN
|
# ADMIN
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user