Skip to content

Commit 91c0570

Browse files
committed
update test database name
1 parent 24f614d commit 91c0570

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gettingstarted/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116
# Update database configuration with $DATABASE_URL.
117117
db_from_env = dj_database_url.config(conn_max_age=500)
118118
DATABASES['default'].update(db_from_env)
119+
DATABASES['default']['TEST'] = {'NAME': DATABASES['default']['NAME']}
119120

120121
# Honor the 'X-Forwarded-Proto' header for request.is_secure()
121122
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

0 commit comments

Comments
 (0)