Revert change to SITE_NAME
authorCharles Connell <charles@connells.org>
Tue, 14 Jan 2014 00:07:47 +0000 (19:07 -0500)
committerCharles Connell <charles@connells.org>
Tue, 14 Jan 2014 00:07:47 +0000 (19:07 -0500)
karmaworld/settings/common.py
karmaworld/settings/prod.py

index 580ffdba7b6e6051c194b8a0a6c2c8e7832afc6a..4b20c2f6d2c5e01843058872adce6680661597d2 100644 (file)
@@ -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:
index d4560ee4152599ee907f17d36d62eda0b59d74d6..d9cf868efb6ddb7486823864e5d1ffbb2831259c 100644 (file)
@@ -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