mirror of
https://github.com/jazzband/dj-database-url.git
synced 2026-03-16 22:20:24 +00:00
fix for python3
This commit is contained in:
parent
a14d69adb2
commit
bf55358444
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ def parse(url, engine=None, conn_max_age=0):
|
|||
# Parse the query string into OPTIONS.
|
||||
qs = urlparse.parse_qs(url.query)
|
||||
options = {}
|
||||
for key, values in qs.iteritems():
|
||||
for key, values in qs.items():
|
||||
options[key] = values[-1]
|
||||
if options:
|
||||
config['OPTIONS'] = options
|
||||
|
|
|
|||
Loading…
Reference in a new issue