old_contents: DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': ':memory:',
      }
  }
  
  CACHES = {
      'default': {
          'BACKEND': 'django.core.cache.backends.dummy.DummyCache'
      }
  }
  
  SITE_ID = 1
  
  MIDDLEWARE = (
      'django.middleware.common.CommonMiddleware',
      'django.contrib.sessions.middleware.SessionMiddleware',
      'django.contrib.auth.middleware.AuthenticationMiddleware',
      'django.contrib.messages.middleware.MessageMiddleware',
  
      'axes.middleware.AxesMiddleware',
  )
  
  AUTHENTICATION_BACKENDS = (
      'axes.backends.AxesBackend',
  
      'django.contrib.auth.backends.ModelBackend',
  )
  
  ROOT_URLCONF = 'axes.test_urls'
  
  INSTALLED_APPS = (
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.sites',
      'django.contrib.messages',
      'django.contrib.admin',
      'axes',
  )
  
  TEMPLATES = [
      {
          'BACKEND': 'django.template.backends.django.DjangoTemplates',
          'DIRS': [],
          'APP_DIRS': True,
          'OPTIONS': {
              'context_processors': [
                  'django.template.context_processors.debug',
                  'django.template.context_processors.request',
                  'django.contrib.auth.context_processors.auth',
                  'django.contrib.messages.context_processors.messages',
              ],
          },
      },
  ]
  
  LOGGING = {
      'version': 1,
      'disable_existing_loggers': False,
      'handlers': {
          'console': {
              'class': 'logging.StreamHandler',
          },
      },
      'loggers': {
          'axes': {
              'handlers': ['console'],
              'level': 'INFO',
              'propagate': False,
          },
      },
  }
  
  SECRET_KEY = 'too-secret-for-test'
  
  USE_I18N = False
  
  USE_L10N = False
  
  USE_TZ = False
  
  LOGIN_REDIRECT_URL = '/admin/'
  
  AXES_FAILURE_LIMIT = 10
  
new_contents: DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': ':memory:',
      }
  }
  
  CACHES = {
      'default': {
          'BACKEND': 'django.core.cache.backends.dummy.DummyCache'
      }
  }
  
  SITE_ID = 1
  
  MIDDLEWARE = (
      'django.middleware.common.CommonMiddleware',
      'django.contrib.sessions.middleware.SessionMiddleware',
      'django.contrib.auth.middleware.AuthenticationMiddleware',
      'django.contrib.messages.middleware.MessageMiddleware',
  
      'axes.middleware.AxesMiddleware',
  )
  
  AUTHENTICATION_BACKENDS = (
      'axes.backends.AxesBackend',
  
      'django.contrib.auth.backends.ModelBackend',
  )
  
  PASSWORD_HASHERS = [
      'django.contrib.auth.hashers.MD5PasswordHasher',
  ]
  
  ROOT_URLCONF = 'axes.test_urls'
  
  INSTALLED_APPS = (
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.sites',
      'django.contrib.messages',
      'django.contrib.admin',
      'axes',
  )
  
  TEMPLATES = [
      {
          'BACKEND': 'django.template.backends.django.DjangoTemplates',
          'DIRS': [],
          'APP_DIRS': True,
          'OPTIONS': {
              'context_processors': [
                  'django.template.context_processors.debug',
                  'django.template.context_processors.request',
                  'django.contrib.auth.context_processors.auth',
                  'django.contrib.messages.context_processors.messages',
              ],
          },
      },
  ]
  
  LOGGING = {
      'version': 1,
      'disable_existing_loggers': False,
      'handlers': {
          'console': {
              'class': 'logging.StreamHandler',
          },
      },
      'loggers': {
          'axes': {
              'handlers': ['console'],
              'level': 'INFO',
              'propagate': False,
          },
      },
  }
  
  SECRET_KEY = 'too-secret-for-test'
  
  USE_I18N = False
  
  USE_L10N = False
  
  USE_TZ = False
  
  LOGIN_REDIRECT_URL = '/admin/'
  
  AXES_FAILURE_LIMIT = 10
  
subject: Use a faster password hasher for testing