aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2013-06-27 14:50:40 +0200
committerTheo Chatzimichos <tampakrap@gentoo.org>2013-06-27 14:50:40 +0200
commit8cee90cfc1186d1539a4b2887badf1b7128ef081 (patch)
tree425498f87172650223676ed53d137c20cc2ae2b9 /okupy/settings/__init__.py
parentMerge pull request #7 from mgorny/relative-imports (diff)
parentUpdate .gitignore as well to reflect the renamed settings/local (diff)
downloadidentity.gentoo.org-8cee90cfc1186d1539a4b2887badf1b7128ef081.tar.gz
identity.gentoo.org-8cee90cfc1186d1539a4b2887badf1b7128ef081.tar.bz2
identity.gentoo.org-8cee90cfc1186d1539a4b2887badf1b7128ef081.zip
Merge remote-tracking branch 'tampakrap/local_settings_rename'
Conflicts: okupy/settings/__init__.py
Diffstat (limited to 'okupy/settings/__init__.py')
-rw-r--r--okupy/settings/__init__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/okupy/settings/__init__.py b/okupy/settings/__init__.py
index cca1155..9505c49 100644
--- a/okupy/settings/__init__.py
+++ b/okupy/settings/__init__.py
@@ -9,15 +9,15 @@ import os
PROJECT_ROOT = os.path.dirname(os.path.realpath(__file__)) + '/../..'
try:
- from .local_settings import *
+ from .local import *
except ImportError:
- raise Exception('No local_settings.py found, please copy local_settings.py.sample and edit it accordingly')
+ raise Exception('No settings/local.py found, please copy settings/local.py.sample and edit it accordingly')
if DEVELOPMENT:
try:
from .development import *
except ImportError:
- raise Exception('No development.py found, please copy development.py.sample and edit it accordingly if needed')
+ raise Exception('No settings/development.py found, please copy settings/development.py.sample and edit it accordingly if needed')
else:
from .production import *
@@ -111,5 +111,5 @@ AUTHENTICATION_BACKENDS = (
)
# email sending variables regarding server authentication
-# and configuration should be specified in local_settings
+# and configuration should be specified in settings/local.py
EMAIL_SUBJECT_PREFIX = '[%s]: ' % INSTANCE_NAME