wiki-eleves/WikiENS/settings/local.py
2019-12-24 17:00:49 +01:00

20 lines
388 B
Python

import os
from .common import * # noqa
from .common import TESTING, BASE_DIR
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
DEBUG = True
if TESTING:
PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"]
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": os.path.join(BASE_DIR, "db.sqlite3")
}
}