diff options
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 |
commit | 24767dff8822ce20d4094a7789ce38e7d71bdcfb (patch) | |
tree | fc33fa6077bd260ddf4dad959d86507f196f768d /example_project | |
parent | a584b08f7c347af2fb85df86ddd89430c14824c0 (diff) | |
download | Ishtar-24767dff8822ce20d4094a7789ce38e7d71bdcfb.tar.bz2 Ishtar-24767dff8822ce20d4094a7789ce38e7d71bdcfb.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.py | 6 |
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'), |