-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow overriding of email subject prefix
In GOV.UK we want to specify different email subject lines for MapIt emails in each environment. This change allows the EMAIL_SUBJECT_PREFIX to be set in general.yml. The space after the closing ']' in the example is intentional in order to format the full email subject nicely when it includes following text.
- Loading branch information
Showing
2 changed files
with
6 additions
and
0 deletions.
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 |
---|---|---|
|
@@ -35,6 +35,9 @@ RATE_LIMIT: | |
# Email address that errors should be sent to. Optional. | ||
BUGS_EMAIL: '[email protected]' | ||
|
||
# Text to prepend to the subject of error emails. Overrides Django default. Optional. | ||
EMAIL_SUBJECT_PREFIX: '[MapIt] ' | ||
|
||
######################################################################### | ||
|
||
# You can ignore all of the settings below this point in the file | ||
|
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