old_contents: from .base import *
  
  DEV_APPS = (
      # 'django_extensions',
      # 'debug_toolbar',
      'django_pdb',
  )
  
  INSTALLED_APPS += DEV_APPS
  
  CSP_DEFAULT_SRC = list(CSP_DEFAULT_SRC) + ['localhost:8005']
  
  LOGGING = {
      'version': 1,
      'disable_existing_loggers': False,
      'filters': {
          'require_debug_false': {
              '()': 'django.utils.log.RequireDebugFalse'
          }
      },
      'handlers': {
          'mail_admins': {
              'level': 'ERROR',
              'filters': ['require_debug_false'],
              'class': 'django.utils.log.AdminEmailHandler'
          }
      },
      'loggers': {
          'django.request': {
              'handlers': ['mail_admins'],
              'level': 'ERROR',
              'propagate': True,
          },
      }
  }
  
new_contents: from .base import *
  
  DEV_APPS = (
      # 'django_extensions',
      # 'debug_toolbar',
      'django_pdb',
  )
  
  INSTALLED_APPS += DEV_APPS
  
  CSP_DEFAULT_SRC = list(CSP_DEFAULT_SRC) + ['localhost:8005']
  
  LOGGING = {
      'version': 1,
      'disable_existing_loggers': False,
      'filters': {
          'require_debug_false': {
              '()': 'django.utils.log.RequireDebugFalse'
          }
      },
      'handlers': {
          'mail_admins': {
              'level': 'ERROR',
              'filters': ['require_debug_false'],
              'class': 'django.utils.log.AdminEmailHandler'
          }
      },
      'loggers': {
          'django.request': {
              'handlers': ['mail_admins'],
              'level': 'ERROR',
              'propagate': True,
          },
      }
  }
  
  
  # requires a running instance of address-finder https://github.com/ministryofjustice/addressfinder
  ADDRESSFINDER_API_HOST = ''
  ADDRESSFINDER_API_TOKEN = ''
  
subject: Add address-finder settings to example.local settings