From 081adacc1ef02ca4405d051ca04a5aa2892e2fbe Mon Sep 17 00:00:00 2001 From: Charles Connell Date: Mon, 13 Jan 2014 19:07:47 -0500 Subject: [PATCH] Revert change to SITE_NAME --- karmaworld/settings/common.py | 2 +- karmaworld/settings/prod.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/karmaworld/settings/common.py b/karmaworld/settings/common.py index 580ffdb..4b20c2f 100644 --- a/karmaworld/settings/common.py +++ b/karmaworld/settings/common.py @@ -23,7 +23,7 @@ DJANGO_ROOT = dirname(dirname(abspath(__file__))) SITE_ROOT = dirname(DJANGO_ROOT) # Site name: -SITE_NAME = 'KarmaNotes' +SITE_NAME = basename(DJANGO_ROOT) # Add our project to our pythonpath, this way we don't need to type our project # name in our dotted import paths: diff --git a/karmaworld/settings/prod.py b/karmaworld/settings/prod.py index d4560ee..d9cf868 100644 --- a/karmaworld/settings/prod.py +++ b/karmaworld/settings/prod.py @@ -42,7 +42,7 @@ EMAIL_HOST_USER = environ.get('EMAIL_HOST_USER', SMTP_USERNAME) EMAIL_PORT = environ.get('EMAIL_PORT', 587) # See: https://docs.djangoproject.com/en/dev/ref/settings/#email-subject-prefix -EMAIL_SUBJECT_PREFIX = '[%s] ' % SITE_NAME +EMAIL_SUBJECT_PREFIX = 'KarmaNotes ' # See: https://docs.djangoproject.com/en/dev/ref/settings/#email-use-tls EMAIL_USE_TLS = True -- 2.25.1