old_contents: from .base import *
  import os
  
  SECRET_KEY = os.environ["SECRET_KEY"]
  
  DEBUG = bool(os.environ.get('DEBUG', False))
  
  ALLOWED_HOSTS = os.environ['ALLOWED_HOSTS'].split(',')
  
  TEMPLATE_DEBUG = DEBUG
  
  ADMINS = (
      ('Marco Fucci', 'marco.fucci@digital.justice.co.uk'),
      ('Rai Kotecha', 'ravi.kotecha@digital.justice.gov.uk'),
  )
  
  MANAGERS = ADMINS
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.postgresql_psycopg2',
          'NAME': 'cla_backend',
          'USER': 'www-data',
          'PASSWORD': os.environ.get('DB_PASSWORD', ''),
          'HOST': os.environ.get('DB_HOST', ''),                      # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
          'PORT': '',                      # Set to empty string for default.
      }
  }
  
  #HOST_NAME = "http://"
  
new_contents: from .base import *
  import os
  
  SECRET_KEY = os.environ["SECRET_KEY"]
  
  DEBUG = bool(os.environ.get('SET_DEBUG', False))
  
  ALLOWED_HOSTS = os.environ['ALLOWED_HOSTS'].split(',')
  
  TEMPLATE_DEBUG = DEBUG
  
  ADMINS = (
      ('Marco Fucci', 'marco.fucci@digital.justice.co.uk'),
      ('Rai Kotecha', 'ravi.kotecha@digital.justice.gov.uk'),
  )
  
  MANAGERS = ADMINS
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.postgresql_psycopg2',
          'NAME': 'cla_backend',
          'USER': 'www-data',
          'PASSWORD': os.environ.get('DB_PASSWORD', ''),
          'HOST': os.environ.get('DB_HOST', ''),                      # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
          'PORT': '',                      # Set to empty string for default.
      }
  }
  
  #HOST_NAME = "http://"
  
subject: use SET_DEBUG environment variable