old_contents: from .settings import *  # noqa
  
  SIMPLEKEYS_ZONE_PATHS = []
  
  MIDDLEWARE_REMOVE = [
      'whitenoise.middleware.WhiteNoiseMiddleware',
  ]
  MIDDLEWARE = [m for m in MIDDLEWARE if m not in MIDDLEWARE_REMOVE]      # noqa
  
new_contents: from .settings import *  # noqa
  
  SIMPLEKEYS_ZONE_PATHS = []
  
  # disable whitenoise so we don't have to collectstatic for tests
  STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
  MIDDLEWARE_REMOVE = [
      'whitenoise.middleware.WhiteNoiseMiddleware',
  ]
  MIDDLEWARE = [m for m in MIDDLEWARE if m not in MIDDLEWARE_REMOVE]      # noqa
  
subject: disable whitenoise altogether when testing