From 24767dff8822ce20d4094a7789ce38e7d71bdcfb Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 13 Feb 2015 14:10:45 +0100 Subject: Refactoring of templates. Add a new ishtar_pdl with custom templates and CSS --- example_project/settings.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'example_project/settings.py') 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'), -- cgit v1.2.3