From bf55358444ac120759d04ae4e5f60577deba8674 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 2 Feb 2016 17:36:35 -0500 Subject: [PATCH] fix for python3 --- dj_database_url.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dj_database_url.py b/dj_database_url.py index 51bc147..e567ed4 100644 --- a/dj_database_url.py +++ b/dj_database_url.py @@ -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