diff options
Diffstat (limited to 'example_project')
| -rw-r--r-- | example_project/settings.py | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/example_project/settings.py b/example_project/settings.py index 88738b479..8136fb81f 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -9,6 +9,7 @@ DEBUG = False  DEBUG_TOOLBAR = False  TEMPLATE_DEBUG = DEBUG  SQL_DEBUG = False +DJANGO_EXTENSIONS = False  if "test" in sys.argv:      sys.path.insert(0, '..') @@ -138,7 +139,6 @@ INSTALLED_APPS = [      'archaeological_context_records',      'archaeological_warehouse',      'archaeological_finds', -    # 'django_extensions',      # 'debug_toolbar',  ] @@ -235,6 +235,8 @@ INTERNAL_IPS = ('127.0.0.1',)  JQUERY_URL = STATIC_URL + "js/jquery.min.js"  JQUERY_UI_URL = STATIC_URL + "js/jquery-ui/" +if DJANGO_EXTENSIONS: +    INSTALLED_APPS.append('django_extensions')  if DEBUG_TOOLBAR:      if '..' not in sys.path: | 
