old_contents: from .base import *
  
  import dj_database_url
  
  db_from_env = dj_database_url.config(conn_max_age=500)
  DATABASES['default'].update(db_from_env)
  
  DEBUG = True
  
  # Static files (CSS, JavaScript, Images)
  # https://docs.djangoproject.com/en/1.9/howto/static-files/
  
  STATIC_ROOT = os.path.join(PROJECT_ROOT, 'static')
  STATIC_URL = '/static/'
  
  # Extra places for collectstatic to find static files.
  STATICFILES_DIRS = (
      os.path.join(BASE_DIR, 'static'),
  )
  
  WEBPACK_LOADER = {
      'DEFAULT': {
          'BUNDLE_DIR_NAME': 'bundles/prod/', # must end with slash
          'STATS_FILE': os.path.join(PROJECT_ROOT, 'webpack-stats.json'),
      }
  }
  
  ALLOWED_HOSTS = ['.herokuapp.com', '0.0.0.0', '127.0.0.1', 'appstaging.online']
  
  # AWS Settings
  os.environ['S3_USE_SIGV4'] = 'True'
  DEFAULT_FILE_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'
  STATICFILES_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'
  AWS_QUERYSTRING_AUTH = False
  AWS_S3_REGION_NAME = 'eu-west-1'
  AWS_STORAGE_BUCKET_NAME = 'martinsteststorage'
  AWS_ACCESS_KEY_ID = os.environ.get('S3_KEY')
  AWS_SECRET_ACCESS_KEY = os.environ.get('S3_SECRET_KEY')
new_contents: from .base import *
  
  import dj_database_url
  
  db_from_env = dj_database_url.config(conn_max_age=500)
  DATABASES['default'].update(db_from_env)
  
  DEBUG = False
  
  # Static files (CSS, JavaScript, Images)
  # https://docs.djangoproject.com/en/1.9/howto/static-files/
  
  STATIC_ROOT = os.path.join(PROJECT_ROOT, 'static')
  STATIC_URL = '/static/'
  
  # Extra places for collectstatic to find static files.
  STATICFILES_DIRS = (
      os.path.join(BASE_DIR, 'static'),
  )
  
  WEBPACK_LOADER = {
      'DEFAULT': {
          'BUNDLE_DIR_NAME': 'bundles/prod/', # must end with slash
          'STATS_FILE': os.path.join(PROJECT_ROOT, 'webpack-stats.json'),
      }
  }
  
  ALLOWED_HOSTS = ['.herokuapp.com', '0.0.0.0', '127.0.0.1', 'appstaging.online']
  
  # AWS Settings
  os.environ['S3_USE_SIGV4'] = 'True'
  DEFAULT_FILE_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'
  STATICFILES_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'
  AWS_QUERYSTRING_AUTH = False
  AWS_S3_REGION_NAME = 'eu-west-1'
  AWS_STORAGE_BUCKET_NAME = 'martinsteststorage'
  AWS_ACCESS_KEY_ID = os.environ.get('S3_KEY')
  AWS_SECRET_ACCESS_KEY = os.environ.get('S3_SECRET_KEY')
  
subject: Update staging.py