1 from .base import *

2

3 DEBUG = False

4

5 SECRET_KEY = "test-secret-key"

6

7# https://docs.djangoproject.com/en/dev/ref/settings/#test-runner

8 TEST_RUNNER = "django.test.runner.DiscoverRunner"

9

10# PASSWORDS

11# ------------------------------------------------------------------------------

12# https://docs.djangoproject.com/en/dev/ref/settings/#password-hashers

13 PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"]

14

15# EMAIL

16# ------------------------------------------------------------------------------

17# https://docs.djangoproject.com/en/dev/ref/settings/#email-backend

18 EMAIL_BACKEND = "django.core.mail.backends.locmem.EmailBackend"

19

20# MEDIA

21# ------------------------------------------------------------------------------

22# https://docs.djangoproject.com/en/dev/ref/settings/#media-url

23 MEDIA_URL = "http://media.testserver/"

24

25 DATABASES = {

26 "default": {

27 "ENGINE": "django.db.backends.sqlite3",

28 "NAME": ":memory:",

29 }

30}