[damned-lies] Made damnedlies/local_settings.py mandatory



commit 8395acafe64f6b58335d1107be5e74658790d5fc
Author: Claude Paroz <claude 2xlibre net>
Date:   Sat Sep 26 16:31:28 2015 +0200

    Made damnedlies/local_settings.py mandatory

 damnedlies/settings.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/damnedlies/settings.py b/damnedlies/settings.py
index 6f62814..73c6e95 100644
--- a/damnedlies/settings.py
+++ b/damnedlies/settings.py
@@ -155,7 +155,7 @@ ADMIN_GROUP = ''
 try:
     from .local_settings import *
 except ImportError:
-    pass
+    raise ImportError("The damnedlies/local_settings.py file is mandatory. See the README file.")
 
 # When running in development mode, print emails on stdout instead of trying
 # to send them


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]