summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/settings.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/settings.py b/apps/settings.py
index 719b9d1..d5fd7b1 100644
--- a/apps/settings.py
+++ b/apps/settings.py
@@ -97,3 +97,13 @@ DEFAULT_PATCHES_PER_PAGE = 100
DEFAULT_FROM_EMAIL = 'Patchwork <patchwork@patchwork.example.com>'
ACCOUNT_ACTIVATION_DAYS = 7
+
+try:
+ from local_settings import *
+except ImportError, ex:
+ import sys
+ sys.stderr.write(\
+ ("settings.py: error importing local settings file:\n" + \
+ "\t%s\n" + \
+ "Do you have a local_settings.py module?\n") % str(ex))
+ raise