old_contents: import os
  import pymysql
  import dj_database_url
  pymysql.install_as_MySQLdb()
  
  DATABASES = {
      'default': dj_database_url.parse(os.environ['DATABASE_URL']),
  }
  
  INSTALLED_APPS = (
      'django_dbq',
  )
  
  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',
  )
  
  SECRET_KEY = 'abcde12345'
  
  LOGGING = {
      'version': 1,
      'disable_existing_loggers': True,
      'handlers': {
          'console': {
              'level': 'DEBUG',
              'class': 'logging.StreamHandler',
          },
      },
      'root': {
          'handlers': ['console'],
          'level': 'INFO',
      },
      'loggers': {
          'django_dbq': {
              'level': 'CRITICAL',
              'propagate': True,
          },
      }
  }
  
new_contents: import os
  import dj_database_url
  
  DATABASES = {
      'default': dj_database_url.parse(os.environ['DATABASE_URL']),
  }
  
  INSTALLED_APPS = (
      'django_dbq',
  )
  
  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',
  )
  
  SECRET_KEY = 'abcde12345'
  
  LOGGING = {
      'version': 1,
      'disable_existing_loggers': True,
      'handlers': {
          'console': {
              'level': 'DEBUG',
              'class': 'logging.StreamHandler',
          },
      },
      'root': {
          'handlers': ['console'],
          'level': 'INFO',
      },
      'loggers': {
          'django_dbq': {
              'level': 'CRITICAL',
              'propagate': True,
          },
      }
  }
  
subject: Remove reference to PyMySQL