old_contents: from .base import *
  
  DEBUG = False
  
  env = os.environ.copy()
  SECRET_KEY = env['SECRET_KEY']
  
  WAGTAILSEARCH_BACKENDS = {
      'default': {
          'BACKEND': 'wagtail.wagtailsearch.backends.elasticsearch.ElasticSearch',
          'INDEX': 'wagtaildemo'
      }
  }
  
  
  CACHES = {
      'default': {
          'BACKEND': 'redis_cache.cache.RedisCache',
          'LOCATION': '127.0.0.1:6379',
          'KEY_PREFIX': 'wagtaildemo',
          'OPTIONS': {
              'CLIENT_CLASS': 'redis_cache.client.DefaultClient',
          }
      }
  }
  
  # Use the cached template loader
  TEMPLATE_LOADERS = (
      ('django.template.loaders.cached.Loader', (
          'django.template.loaders.filesystem.Loader',
          'django.template.loaders.app_directories.Loader',
      )),
  )
  
  
  try:
      from .local import *
  except ImportError:
      pass
  
new_contents: from .base import *
  
  DEBUG = False
  
  env = os.environ.copy()
  SECRET_KEY = env['SECRET_KEY']
  DEBUG = env['DEBUG']
  
  WAGTAILSEARCH_BACKENDS = {
      'default': {
          'BACKEND': 'wagtail.wagtailsearch.backends.elasticsearch.ElasticSearch',
          'INDEX': 'wagtaildemo'
      }
  }
  
  
  CACHES = {
      'default': {
          'BACKEND': 'redis_cache.cache.RedisCache',
          'LOCATION': '127.0.0.1:6379',
          'KEY_PREFIX': 'wagtaildemo',
          'OPTIONS': {
              'CLIENT_CLASS': 'redis_cache.client.DefaultClient',
          }
      }
  }
  
  # Use the cached template loader
  TEMPLATE_LOADERS = (
      ('django.template.loaders.cached.Loader', (
          'django.template.loaders.filesystem.Loader',
          'django.template.loaders.app_directories.Loader',
      )),
  )
  
  
  try:
      from .local import *
  except ImportError:
      pass
  
subject: add debug