summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-02-13 14:10:45 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-05-06 15:48:16 +0200
commite2e42bd068e94791edab44ac474a930223e8d42d (patch)
treefc33fa6077bd260ddf4dad959d86507f196f768d /example_project
parent1d82730382ec543e67b60bd6a2b5f023f16d94e3 (diff)
downloadIshtar-e2e42bd068e94791edab44ac474a930223e8d42d.tar.bz2
Ishtar-e2e42bd068e94791edab44ac474a930223e8d42d.zip
Refactoring of templates. Add a new ishtar_pdl with custom templates and CSS
Diffstat (limited to 'example_project')
-rw-r--r--example_project/settings.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index f81e3e984..618c817df 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -190,16 +190,20 @@ ISHTAR_DOC_TYPES = {u"undefined":u"Undefined"}
ISHTAR_DPTS = []
+PRE_APPS = []
EXTRA_APPS = []
try:
from local_settings import *
except ImportError, e:
- print 'Unable to load local_settings.py:', e
+ print('Unable to load local_settings.py:', e)
if 'test' in sys.argv:
SOUTH_TESTS_MIGRATE = False
+for app in PRE_APPS:
+ INSTALLED_APPS.insert(INSTALLED_APPS.index('ishtar_common'), app)
+
if 'archaeological_files' in EXTRA_APPS:
EXTRA_APPS.pop(EXTRA_APPS.index('archaeological_files'))
INSTALLED_APPS.insert(INSTALLED_APPS.index('archaeological_operations'),