Changeset - 6363b4a422dc
[Not reviewed]
0 1 0
Christopher Neugebauer - 7 years ago 2017-08-17 15:27:08
chrisjrn@gmail.com
Sets the admin e-mail address
1 file changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
pinaxcon/settings.py
Show inline comments
...
 
@@ -31,12 +31,18 @@ ALLOWED_HOSTS = [".localhost", ".herokuapp.com", ".northbaypython.org"]
 
# timezone as the operating system.
 
# If running in a Windows environment this must be set to the same as your
 
# system time zone.
 
TIME_ZONE = os.environ.get("TZ", "America/Los_Angeles")
 

	
 

	
 
# Set the email address that will receive errors.
 
admin_email = os.environ.get("DJANGO_ADMIN_EMAIL", None)
 
if admin_email is not None:
 
    ADMINS = ("Webmaster", admin_email)
 

	
 

	
 
# Use SSLRedirectMiddleware
 
SSL_ON = os.environ.get("DJANGO_SSL_ON", True)
 
SSL_ALWAYS = os.environ.get("DJANGO_SSL_ALWAYS", False)
 

	
 
# Language code for this installation. All choices can be found here:
 
# http://www.i18nguy.com/unicode/language-identifiers.html
0 comments (0 inline, 0 general)