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 d488683d3..708c71235 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -160,7 +160,6 @@ INSTALLED_APPS = [      'archaeological_finds',      'ajax_select',      'compressor', -    'background_task',      # 'debug_toolbar',  ] @@ -221,6 +220,8 @@ LOGGING = {      },  } +USE_BACKGROUND_TASK = False +  # Ishtar custom  SRID = 27572  SURFACE_SRID = 2154 @@ -283,6 +284,9 @@ if DEBUG:          elif 'console' not in LOGGING['loggers'][logger]['handlers']:              LOGGING['loggers'][logger]['handlers'] += ['console'] +if USE_BACKGROUND_TASK: +    INSTALLED_APPS.append('background_task') +  if DJANGO_EXTENSIONS:      INSTALLED_APPS.append('django_extensions') | 
