old_contents: """
  Django settings for website project.
  
  For more information on this file, see
  https://docs.djangoproject.com/en/1.6/topics/settings/
  
  For the full list of settings and their values, see
  https://docs.djangoproject.com/en/1.6/ref/settings/
  """
  
  # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
  import os
  
  BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
  DATA_DIR = os.path.join(BASE_DIR, 'data')
  
  # Application definition
  REQ_APPS = (
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
  )
  PROJECT_APPS = (
      'meteography.django.broadcaster',
  )
  INSTALLED_APPS = REQ_APPS + PROJECT_APPS
  
  MIDDLEWARE_CLASSES = (
      'django.contrib.sessions.middleware.SessionMiddleware',
      'django.middleware.common.CommonMiddleware',
      'django.middleware.csrf.CsrfViewMiddleware',
      'django.contrib.auth.middleware.AuthenticationMiddleware',
      'django.contrib.messages.middleware.MessageMiddleware',
      'django.middleware.clickjacking.XFrameOptionsMiddleware',
  )
  
  ROOT_URLCONF = 'website.urls'
  
  WSGI_APPLICATION = 'website.wsgi.application'
  
  
  # Internationalization
  # https://docs.djangoproject.com/en/1.6/topics/i18n/
  
  LANGUAGE_CODE = 'en-us'
  
  TIME_ZONE = 'Europe/Paris'
  
  USE_I18N = True
  
  USE_L10N = True
  
  USE_TZ = True
  
  
  # Static files (CSS, JavaScript, Images)
  # https://docs.djangoproject.com/en/1.6/howto/static-files/
  
  STATIC_URL = '/static/'
  
  
  # Logging
  LOGGING = {
      'version': 1,
      'disable_existing_loggers': False,
      'handlers': {
          'file': {
              'level': 'DEBUG',
              'class': 'logging.FileHandler',
              'filename': os.path.join(BASE_DIR, 'django.log'),
          },
      },
      'loggers': {
          'django': {
              'handlers': ['file'],
              'level': os.getenv('DJANGO_LOG_LEVEL', 'INFO'),
              'propagate': True,
          },
      },
  }
  
new_contents: """
  Django settings for website project.
  
  For more information on this file, see
  https://docs.djangoproject.com/en/1.6/topics/settings/
  
  For the full list of settings and their values, see
  https://docs.djangoproject.com/en/1.6/ref/settings/
  """
  
  # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
  import os
  
  BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
  DATA_DIR = os.path.join(BASE_DIR, 'data')
  
  # Application definition
  REQ_APPS = (
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
  )
  PROJECT_APPS = (
      'meteography.django.broadcaster',
  )
  INSTALLED_APPS = REQ_APPS + PROJECT_APPS
  
  MIDDLEWARE_CLASSES = (
      'django.contrib.sessions.middleware.SessionMiddleware',
      'django.middleware.common.CommonMiddleware',
      'django.middleware.csrf.CsrfViewMiddleware',
      'django.contrib.auth.middleware.AuthenticationMiddleware',
      'django.contrib.messages.middleware.MessageMiddleware',
      'django.middleware.clickjacking.XFrameOptionsMiddleware',
  )
  
  ROOT_URLCONF = 'website.urls'
  
  WSGI_APPLICATION = 'website.wsgi.application'
  
  
  # Internationalization
  # https://docs.djangoproject.com/en/1.6/topics/i18n/
  
  LANGUAGE_CODE = 'en-us'
  
  TIME_ZONE = 'Europe/Paris'
  
  USE_I18N = True
  
  USE_L10N = True
  
  USE_TZ = True
  
  
  # Static files (CSS, JavaScript, Images)
  # https://docs.djangoproject.com/en/1.6/howto/static-files/
  
  STATIC_URL = '/static/'
  
  
  # Logging
  LOGGING = {
      'version': 1,
      'disable_existing_loggers': False,
      'formatters': {
          'timed': {
              'format': '%(asctime)s %(levelname)s %(message)s',
          },
      },
      'handlers': {
          'file': {
              'level': 'DEBUG',
              'class': 'logging.FileHandler',
              'filename': os.path.join(BASE_DIR, 'django.log'),
              'formatter': 'timed',
          },
      },
      'loggers': {
          'django': {
              'handlers': ['file'],
              'level': os.getenv('DJANGO_LOG_LEVEL', 'INFO'),
              'propagate': True,
          },
          'meteography': {
              'handlers': ['file'],
              'level': os.getenv('DJANGO_LOG_LEVEL', 'INFO'),
              'propagate': True,
          },
      },
  }
  
subject: Improve log settings