diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-10-20 23:45:04 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-10-20 23:45:04 +0300 |
commit | 21d1d128260707f66ec61c6bedee22dd9c0473a8 (patch) | |
tree | 38a680d2a640348e387bf3f63888dd0080de6628 /settings.py | |
parent | d404dfa2f083643437c97dc544f3951933d4768b (diff) | |
download | Servo-21d1d128260707f66ec61c6bedee22dd9c0473a8.tar.gz Servo-21d1d128260707f66ec61c6bedee22dd9c0473a8.tar.bz2 Servo-21d1d128260707f66ec61c6bedee22dd9c0473a8.zip |
Set hostname for SERVER_EMAIL
Diffstat (limited to 'settings.py')
-rw-r--r-- | settings.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/settings.py b/settings.py index 2ba8dd8..d1d3e95 100644 --- a/settings.py +++ b/settings.py @@ -2,6 +2,7 @@ import os import re +import socket from django.contrib.messages import constants as messages DEBUG = False @@ -198,11 +199,11 @@ IGNORABLE_404_URLS = ( TEST_RUNNER = 'servo.tests.NoDbTestRunner' -SERVER_EMAIL = 'servo@localhost' EMAIL_HOST = 'mail.servoapp.com' EMAIL_HOST_PASSWORD = '' EMAIL_HOST_USER = '' EMAIL_USE_TLS = True +SERVER_EMAIL = 'servo@' + socket.gethostname() DEFAULT_FROM_EMAIL = 'support@servoapp.com' |