old_contents: import os
  
  PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
  
  DEBUG = True
  TEMPLATE_DEBUG = DEBUG
  
  ADMINS = MANAGERS = (('Admin User', 'admin@example.com'))
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': ':memory:',
      }
  }
  
  LANGUAGE_CODE = 'en-us'
  ROOT_URLCONF = 'tests.urls'
  SECRET_KEY = 'local'
  SITE_ID = 1
  TIME_ZONE = 'UTC'
  USE_I18N = True
  USE_L10N = True
  USE_TZ = True
  
  MEDIA_ROOT = os.path.join(PROJECT_ROOT, 'media')
  MEDIA_URL = '/media/'
  
  STATIC_ROOT = os.path.join(PROJECT_ROOT, 'static')
  STATIC_URL = '/static/'
  
  INSTALLED_APPS = (
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'admin_honeypot',
  )
  
  MIDDLEWARE_CLASSES = (
      'django.contrib.sessions.middleware.SessionMiddleware',
      'django.middleware.common.CommonMiddleware',
      'django.middleware.csrf.CsrfViewMiddleware',
      'django.contrib.auth.middleware.AuthenticationMiddleware',
  )
  
  
  ADMIN_HONEYPOT_EMAIL_ADMINS = True
  
new_contents: import os
  
  PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
  
  DEBUG = True
  TEMPLATE_DEBUG = DEBUG
  
  ADMINS = MANAGERS = (('Admin User', 'admin@example.com'))
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': ':memory:',
      }
  }
  
  LANGUAGE_CODE = 'en-us'
  ROOT_URLCONF = 'tests.urls'
  SECRET_KEY = 'local'
  SITE_ID = 1
  TIME_ZONE = 'UTC'
  USE_I18N = True
  USE_L10N = True
  USE_TZ = True
  
  MEDIA_ROOT = os.path.join(PROJECT_ROOT, 'media')
  MEDIA_URL = '/media/'
  
  STATIC_ROOT = os.path.join(PROJECT_ROOT, 'static')
  STATIC_URL = '/static/'
  
  INSTALLED_APPS = (
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'admin_honeypot',
  )
  
  MIDDLEWARE_CLASSES = (
      'django.contrib.sessions.middleware.SessionMiddleware',
      'django.middleware.common.CommonMiddleware',
      'django.middleware.csrf.CsrfViewMiddleware',
      'django.contrib.auth.middleware.AuthenticationMiddleware',
  )
  
  TEMPLATES = [
      {
          'BACKEND': 'django.template.backends.django.DjangoTemplates',
          'APP_DIRS': True,
      },
  ]
  
  ADMIN_HONEYPOT_EMAIL_ADMINS = True
  
subject: Add mandatory templates setting