old_contents: from .base import *
  
  # Settings which are specific for the production environment.
  HOST = "trackseats.info"
  
  DEBUG = False
  TEMPLATE_DEBUG = DEBUG
  TASTYPIE_FULL_DEBUG = DEBUG
  
  CSRF_COOKIE_SECURE = True
  SESSION_COOKIE_SECURE = True
  
  ADMINS = (('Pavel Kuchin', 'pavel.s.kuchin@gmail.com'),)
  MANAGERS = ADMINS
  
  ALLOWED_HOSTS = [
      '.%s.' % HOST,
      '.%s' % HOST
  ]
  
  LOGGING = {
      'version': 1,
      'disable_existing_loggers': False,
      'formatters': {
        'basic': {
          'format': '%(levelname)s %(asctime)s %(message)s'
        }
      },
      'handlers': {
          'file': {
              'level': 'WARNING',
              'class': 'logging.handlers.RotatingFileHandler',
              'filename': get_env_var('APP_ROOT') + '/logs/tracktrains.log',
              'maxBytes': 1024*1024*5, # 5 MB
              'backupCount': 5,
              'formatter': 'basic'
          },
      },
      'loggers': {
          '': {
              'level': 'WARNING',
              'handlers': ['file']
          },
          'django': {
              'level': 'WARNING',
              'handlers': ['file'],
              'propagate': False,
          }
      }
  }
  
new_contents: from .base import *
  
  # Settings which are specific for the production environment.
  HOST = "api.trackseats.info"
  
  DEBUG = False
  TEMPLATE_DEBUG = DEBUG
  TASTYPIE_FULL_DEBUG = DEBUG
  
  CSRF_COOKIE_SECURE = True
  SESSION_COOKIE_SECURE = True
  
  ADMINS = (('Pavel Kuchin', 'pavel.s.kuchin@gmail.com'),)
  MANAGERS = ADMINS
  
  ALLOWED_HOSTS = [
      '.%s.' % HOST,
      '.%s' % HOST
  ]
  
  LOGGING = {
      'version': 1,
      'disable_existing_loggers': False,
      'formatters': {
        'basic': {
          'format': '%(levelname)s %(asctime)s %(message)s'
        }
      },
      'handlers': {
          'file': {
              'level': 'WARNING',
              'class': 'logging.handlers.RotatingFileHandler',
              'filename': get_env_var('APP_ROOT') + '/logs/tracktrains.log',
              'maxBytes': 1024*1024*5, # 5 MB
              'backupCount': 5,
              'formatter': 'basic'
          },
      },
      'loggers': {
          '': {
              'level': 'WARNING',
              'handlers': ['file']
          },
          'django': {
              'level': 'WARNING',
              'handlers': ['file'],
              'propagate': False,
          }
      }
  }
  
subject: Correct host name