Commit d4251d78 authored by Pernille Nødtvedt Welle-Watne's avatar Pernille Nødtvedt Welle-Watne
Browse files

Update django_heroku.py

parent bdde49c5
Pipeline #113994 canceled with stages
in 1 minute and 56 seconds
......@@ -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']
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment