Skip to content

Commit

Permalink
add DEFAULT_FROM_EMAIL setting
Browse files Browse the repository at this point in the history
  • Loading branch information
monosans committed Dec 25, 2024
1 parent a0b5b3b commit bf442eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ REDIS_PORT=6379
# -------------------

# https://docs.djangoproject.com/en/5.1/ref/settings/#email-host
DEFAULT_FROM_EMAIL=user@localhost
EMAIL_HOST=localhost
EMAIL_HOST_PASSWORD=password
EMAIL_HOST_USER=user
EMAIL_HOST_USER=user@localhost
EMAIL_PORT=25
EMAIL_USE_TLS=False
EMAIL_USE_SSL=False
Expand Down
1 change: 1 addition & 0 deletions config/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
CSRF_COOKIE_SECURE = True
CSRF_COOKIE_NAME = "__Secure-csrftoken"

DEFAULT_FROM_EMAIL = env.str("DEFAULT_FROM_EMAIL")
EMAIL_HOST = env.str("EMAIL_HOST")
EMAIL_HOST_PASSWORD = env.str("EMAIL_HOST_PASSWORD")
EMAIL_HOST_USER = env.str("EMAIL_HOST_USER")
Expand Down

0 comments on commit bf442eb

Please sign in to comment.