Commit 2cf19251 authored by Kenneth Reitz's avatar Kenneth Reitz

all set

parent c309a882
...@@ -110,8 +110,7 @@ try: ...@@ -110,8 +110,7 @@ try:
# Ensure default database exists. # Ensure default database exists.
DATABASES['default'] = DATABASES.get('default', {}) DATABASES['default'] = DATABASES.get('default', {})
# We use update here to preserve other keys we # Update with environment configuration.
# don't care about (like OPTIONS)
DATABASES['default'].update({ DATABASES['default'].update({
'NAME': url.path[1:], 'NAME': url.path[1:],
'USER': url.username, 'USER': url.username,
......
Markdown is supported
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