diff options
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'), | 
