fixed tests working.

This commit is contained in:
2021-04-15 14:05:45 +01:00
parent 43fc877445
commit 64acde19db
4 changed files with 14 additions and 12 deletions

View File

@@ -17,7 +17,7 @@ load_dotenv(Path(BASE_DIR, '.env'))
# See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.environ.get("DJANGO_SECRET_KEY", "9!u#3b@%&vhmh2f89l+tl6r30ce_c&e22bc3l8jx_7#mybxbdq")
SECRET_KEY = os.environ.get("DJANGO_SECRET_KEY", None)
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.getenv('DJANGO_DEBUG', False) == 'True'