diff options
Diffstat (limited to 'example_project')
| -rw-r--r-- | example_project/settings.py | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/example_project/settings.py b/example_project/settings.py index 68ceab74b..201750936 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -2,7 +2,7 @@  # -*- coding: utf-8 -*-  # Django settings for ishtar project. -import os +import os, sys  from django.utils.translation import gettext_lazy as _ @@ -191,6 +191,9 @@ try:  except ImportError, e:      print 'Unable to load local_settings.py:', e +if 'test' in sys.argv: +    SOUTH_TESTS_MIGRATE = False +  if 'archaeological_files' in EXTRA_APPS:      EXTRA_APPS.pop(EXTRA_APPS.index('archaeological_files'))      INSTALLED_APPS.insert(INSTALLED_APPS.index('archaeological_operations'),  | 
