From d4251d7845a126b27d67f8b56d8522bd51c07265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pernille=20N=C3=B8dtvedt=20Welle-Watne?= <1417-pernilnw@users.noreply.gitlab.stud.idi.ntnu.no> Date: Sat, 6 Mar 2021 21:00:26 +0000 Subject: [PATCH] Update django_heroku.py --- backend/secfit/secfit/django_heroku.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/secfit/secfit/django_heroku.py b/backend/secfit/secfit/django_heroku.py index 4735073c..7f60ede9 100644 --- a/backend/secfit/secfit/django_heroku.py +++ b/backend/secfit/secfit/django_heroku.py @@ -7,7 +7,7 @@ from django.test.runner import DiscoverRunner MAX_CONN_AGE = 600 -def settings(config, *, db_colors=False, databases=True, test_runner=True, staticfiles=True, allowed_hosts=True, +def settings(config, *, db_colors=False, databases=True, test_runner=False, staticfiles=True, allowed_hosts=True, logging=True, secret_key=True): # Database configuration. # TODO: support other database (e.g. TEAL, AMBER, etc, automatically.) @@ -115,4 +115,4 @@ def settings(config, *, db_colors=False, databases=True, test_runner=True, stati if 'SECRET_KEY' in os.environ: # logger.info('Adding $SECRET_KEY to SECRET_KEY Django setting.') # Set the Django setting from the environment variable. - config['SECRET_KEY'] = os.environ['SECRET_KEY'] \ No newline at end of file + config['SECRET_KEY'] = os.environ['SECRET_KEY'] -- GitLab