-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow the contact email to be more configurable
- Loading branch information
1 parent
e89b296
commit dfdb9d2
Showing
2 changed files
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,6 +104,7 @@ | |
EMAIL_FAIL_SILENTLY=(bool, False), | ||
DEFAULT_FROM_EMAIL=(str, "[email protected]"), | ||
NO_REPLY_EMAIL=(str, "[email protected]"), | ||
# ngo hub api settings | ||
NGOHUB_API_HOST=(str, "api-staging.ngohub.ro"), | ||
NGOHUB_API_ACCOUNT=(str, ""), | ||
NGOHUB_API_KEY=(str, ""), | ||
|
@@ -425,6 +426,7 @@ def show_toolbar(request): | |
EMAIL_FAIL_SILENTLY = env.bool("EMAIL_FAIL_SILENTLY") | ||
|
||
DEFAULT_FROM_EMAIL = env.str("DEFAULT_FROM_EMAIL") | ||
CONTACT_EMAIL = env.str("CONTACT_EMAIL", default=DEFAULT_FROM_EMAIL) | ||
NO_REPLY_EMAIL = env.str("NO_REPLY_EMAIL") | ||
|
||
if EMAIL_BACKEND == "django_ses.SESBackend": | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters