21 lines
388 B
Python
21 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")
|
||
|
}
|
||
|
}
|