summaryrefslogtreecommitdiff
path: root/example_project/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'example_project/settings.py')
-rw-r--r--example_project/settings.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index 09590f807..bf2b26c31 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -273,9 +273,12 @@ DOT_BINARY = ""
TEST_RUNNER = 'ishtar_common.tests.ManagedModelTestRunner'
try:
- from .local_settings import *
+ from local_settings import *
except ImportError as e:
- print('Unable to load local_settings.py:', e)
+ try:
+ from .local_settings import *
+ except ImportError as e:
+ print('Unable to load local_settings.py:', e)
if LANGUAGE_CODE == "fr-fr" and SRID == 4326:
SRID = 27572 # Lambert zone II - France