Remove test-specific settings
This commit is contained in:
parent
33fc1564bb
commit
da4a440c3b
2 changed files with 1 additions and 6 deletions
|
@ -39,7 +39,6 @@ DBPASSWD = import_secret("DBPASSWD")
|
|||
BASE_DIR = os.path.dirname(
|
||||
os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
)
|
||||
TESTING = sys.argv[1] == "test"
|
||||
|
||||
|
||||
INSTALLED_APPS = [
|
||||
|
|
|
@ -2,16 +2,12 @@ import os
|
|||
|
||||
|
||||
from .common import * # noqa
|
||||
from .common import TESTING, BASE_DIR
|
||||
from .common import 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",
|
||||
|
|
Loading…
Reference in a new issue