old_contents: from base import *
  
  ########## TEST SETTINGS
  TEST_RUNNER = 'discover_runner.DiscoverRunner'
  TEST_DISCOVER_TOP_LEVEL = SITE_ROOT
  TEST_DISCOVER_ROOT = join(SITE_ROOT, "tests")
  # Default is test*.py
  TEST_DISCOVER_PATTERN = "*"
  
  ########## IN-MEMORY TEST DATABASE
  DATABASES = {
      "default": {
          "ENGINE": "django.db.backends.sqlite3",
          "NAME": ":memory:",
          "USER": "",
          "PASSWORD": "",
          "HOST": "",
          "PORT": "",
          },
      }
  
  ######### FAST HASHING FOR PASSWORDS
  PASSWORD_HASHERS = (
      'django.contrib.auth.hashers.MD5PasswordHasher',
  )
  SOUTH_TESTS_MIGRATE = False
  
  MEDIA_ROOT = normpath(join(SITE_ROOT, 'tests/media'))
  
new_contents: from base import *
  
  ########## TEST SETTINGS
  TEST_RUNNER = 'discover_runner.DiscoverRunner'
  TEST_DISCOVER_TOP_LEVEL = SITE_ROOT
  TEST_DISCOVER_ROOT = join(SITE_ROOT, "tests")
  # Default is test*.py
  TEST_DISCOVER_PATTERN = "*"
  
  MIDDLEWARE_CLASSES = (
      # Default Django middleware.
      'django.middleware.common.CommonMiddleware',
      'django.contrib.sessions.middleware.SessionMiddleware',
      'django.contrib.auth.middleware.AuthenticationMiddleware',
      'django.contrib.messages.middleware.MessageMiddleware',
  )
  
  ########## IN-MEMORY TEST DATABASE
  DATABASES = {
      "default": {
          "ENGINE": "django.db.backends.sqlite3",
          "NAME": ":memory:",
          "USER": "",
          "PASSWORD": "",
          "HOST": "",
          "PORT": "",
          },
      }
  
  ######### FAST HASHING FOR PASSWORDS
  PASSWORD_HASHERS = (
      'django.contrib.auth.hashers.MD5PasswordHasher',
  )
  SOUTH_TESTS_MIGRATE = False
  
  MEDIA_ROOT = normpath(join(SITE_ROOT, 'tests/media'))
  
subject: Remove CSRF protection from tests