old_contents: from .base import *  # noqa
  
  
  SECRET_KEY = 'test'
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': base_dir_join('db.sqlite3'),
      }
  }
  
  STATIC_ROOT = base_dir_join('staticfiles')
  STATIC_URL = '/static/'
  
  MEDIA_ROOT = base_dir_join('mediafiles')
  MEDIA_URL = '/media/'
  
  DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
  STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
  
  # Celery
  CELERY_TASK_ALWAYS_EAGER = True
  CELERY_TASK_EAGER_PROPAGATES = True
  
new_contents: from .base import *  # noqa
  
  
  SECRET_KEY = 'test'
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': base_dir_join('db.sqlite3'),
      }
  }
  
  STATIC_ROOT = base_dir_join('staticfiles')
  STATIC_URL = '/static/'
  
  MEDIA_ROOT = base_dir_join('mediafiles')
  MEDIA_URL = '/media/'
  
  DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
  STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
  
  # Speed up password hashing
  PASSWORD_HASHERS = [
      'django.contrib.auth.hashers.MD5PasswordHasher',
  ]
  
  # Celery
  CELERY_TASK_ALWAYS_EAGER = True
  CELERY_TASK_EAGER_PROPAGATES = True
  BROKER_BACKEND = 'memory'
  
subject: Speed up tests with MD5 password hasher and BROKER_BACKEND = 'memory'