summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
Diffstat (limited to 'example_project')
-rw-r--r--example_project/settings.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index 511c84f15..39a79f671 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -339,11 +339,6 @@ SHARE_BASE_PATH = FIXTURE_AUTH_PATH
AUTH_PASSWORD_VALIDATORS = []
try:
- from custom_settings import *
-except ImportError:
- pass
-
-try:
from local_settings import *
except ImportError as e:
try:
@@ -351,6 +346,11 @@ except ImportError as e:
except ImportError as e:
print("Unable to load local_settings.py:", e)
+try:
+ from custom_settings import *
+except ImportError:
+ pass
+
if USE_TRANSLATION_OVERLOAD:
INSTALLED_APPS.insert(0, "overload_translation")