Change email subject to include app name

This commit is contained in:
Gabriel Augendre 2018-04-01 12:17:54 +02:00
parent 99f02fc916
commit 0e199c48b0
No known key found for this signature in database
GPG key ID: F360212F958357D4

View file

@ -30,6 +30,7 @@ ALLOWED_HOSTS = ['localhost', 'workout.augendre.info', 'web', 'workout', 'workou
ADMINS = [('Gabriel', os.getenv('ADMIN_EMAIL')), ] ADMINS = [('Gabriel', os.getenv('ADMIN_EMAIL')), ]
SERVER_EMAIL = os.getenv('SERVER_EMAIL') SERVER_EMAIL = os.getenv('SERVER_EMAIL')
EMAIL_SUBJECT_PREFIX = '[Workout] '
# Application definition # Application definition