summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-04-07 01:41:02 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-04-07 01:41:02 +0200
commit1b97a7238ff85ee6363f9697bb6bb1dc77448fe9 (patch)
tree7763e097c89b77b0a14b4a2f5d1b7ec0119658ea /example_project
parent2e690a6ad366f61796b3c6a3fe0526bd89c485a4 (diff)
downloadIshtar-1b97a7238ff85ee6363f9697bb6bb1dc77448fe9.tar.bz2
Ishtar-1b97a7238ff85ee6363f9697bb6bb1dc77448fe9.zip
Fix DRACAR code
Diffstat (limited to 'example_project')
-rw-r--r--example_project/settings.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index 88738b479..8136fb81f 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -9,6 +9,7 @@ DEBUG = False
DEBUG_TOOLBAR = False
TEMPLATE_DEBUG = DEBUG
SQL_DEBUG = False
+DJANGO_EXTENSIONS = False
if "test" in sys.argv:
sys.path.insert(0, '..')
@@ -138,7 +139,6 @@ INSTALLED_APPS = [
'archaeological_context_records',
'archaeological_warehouse',
'archaeological_finds',
- # 'django_extensions',
# 'debug_toolbar',
]
@@ -235,6 +235,8 @@ INTERNAL_IPS = ('127.0.0.1',)
JQUERY_URL = STATIC_URL + "js/jquery.min.js"
JQUERY_UI_URL = STATIC_URL + "js/jquery-ui/"
+if DJANGO_EXTENSIONS:
+ INSTALLED_APPS.append('django_extensions')
if DEBUG_TOOLBAR:
if '..' not in sys.path: