We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24f614d commit 91c0570Copy full SHA for 91c0570
gettingstarted/settings.py
@@ -116,6 +116,7 @@
116
# Update database configuration with $DATABASE_URL.
117
db_from_env = dj_database_url.config(conn_max_age=500)
118
DATABASES['default'].update(db_from_env)
119
+DATABASES['default']['TEST'] = {'NAME': DATABASES['default']['NAME']}
120
121
# Honor the 'X-Forwarded-Proto' header for request.is_secure()
122
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
0 commit comments