old_contents: from opendata.settings.base import *
  
  DEBUG = False
  TEMPLATE_DEBUG = DEBUG
  
  SECRET_KEY = os.environ['SECRET_KEY']
  
  DATABASES['default']['NAME'] = 'opendata_staging'
  
  PUBLIC_ROOT = '/var/www/opendata-staging/public/'
  
  STATIC_ROOT = os.path.join(PUBLIC_ROOT, 'static')
  
  MEDIA_ROOT = os.path.join(PUBLIC_ROOT, 'media')
  
  CACHES = {
      'default': {
          'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
          'LOCATION': '127.0.0.1:11211',
      }
  }
  
  EMAIL_SUBJECT_PREFIX = '[Opendata Staging] '
  
  COMPRESS_ENABLED = True
  
  SESSION_COOKIE_SECURE = True
  
  SESSION_COOKIE_HTTPONLY = True
  
  ALLOWED_HOSTS = ()
  
  import djcelery
  djcelery.setup_loader()
  BROKER_URL = 'amqp://website:%s@127.0.0.1:5672/website_staging' % os.environ['BROKER_PASSWORD']
  
new_contents: from opendata.settings.base import *
  
  DEBUG = False
  TEMPLATE_DEBUG = DEBUG
  
  SECRET_KEY = os.environ['SECRET_KEY']
  
  DATABASES['default']['NAME'] = 'opendata_staging'
  
  PUBLIC_ROOT = '/var/www/opendata-staging/public/'
  
  STATIC_ROOT = os.path.join(PUBLIC_ROOT, 'static')
  
  MEDIA_ROOT = os.path.join(PUBLIC_ROOT, 'media')
  
  CACHES = {
      'default': {
          'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
          'LOCATION': '127.0.0.1:11211',
      }
  }
  
  EMAIL_SUBJECT_PREFIX = '[Opendata Staging] '
  
  COMPRESS_ENABLED = True
  
  SESSION_COOKIE_SECURE = True
  
  SESSION_COOKIE_HTTPONLY = True
  
  ALLOWED_HOSTS = ()
  
  import djcelery
  djcelery.setup_loader()
  BROKER_URL = 'amqp://opendata:%s@127.0.0.1:5672/opendata_staging' % os.environ['BROKER_PASSWORD']
  
subject: fix ampq connection settings