diff --git a/pinaxcon/settings.py b/pinaxcon/settings.py index 9bde5811105a13afc7a6acf82321f03224e294b4..2d744d5899309eec5c08f57666e8e5544d653b57 100644 --- a/pinaxcon/settings.py +++ b/pinaxcon/settings.py @@ -25,6 +25,11 @@ DATABASES['default'].update(db_from_env) ALLOWED_HOSTS = [".localhost", ".herokuapp.com", ".northbaypython.org"] CANONICAL_HOST = os.environ.get("DJANGO_CANONICAL_HOST", None) +# If DEFAULT_FROM_EMAIL is not set, email will most likely break in prod. +from_email = os.environ.get("DJANGO_DEFAULT_FROM_EMAIL", None) +if from_email is not None: + DEFAULT_FROM_EMAIL = from_email + # Local time zone for this installation. Choices can be found here: # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name # although not all choices may be available on all operating systems. diff --git a/pinaxcon/templates/_footer.html b/pinaxcon/templates/_footer.html index 5861c12d967a125c2c4031342485e0fa5c343337..093cfdfd0bab4e207d2812278334ecb21ee278a3 100644 --- a/pinaxcon/templates/_footer.html +++ b/pinaxcon/templates/_footer.html @@ -8,7 +8,7 @@