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 | e2e42bd068e94791edab44ac474a930223e8d42d (patch) | |
| tree | fc33fa6077bd260ddf4dad959d86507f196f768d /example_project/settings.py | |
| parent | 1d82730382ec543e67b60bd6a2b5f023f16d94e3 (diff) | |
| download | Ishtar-e2e42bd068e94791edab44ac474a930223e8d42d.tar.bz2 Ishtar-e2e42bd068e94791edab44ac474a930223e8d42d.zip | |
Refactoring of templates. Add a new ishtar_pdl with custom templates and CSS
Diffstat (limited to 'example_project/settings.py')
| -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'), | 
