mirror of
https://github.com/jazzband/dj-database-url.git
synced 2026-05-13 01:33:12 +00:00
Use urlsplit() instead of urlparse() (#184)
This commit is contained in:
parent
2f5729bb06
commit
9a4a6f3535
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ def parse(url, engine=None, conn_max_age=0, ssl_require=False):
|
|||
# otherwise parse the url as normal
|
||||
parsed_config = {}
|
||||
|
||||
url = urlparse.urlparse(url)
|
||||
url = urlparse.urlsplit(url)
|
||||
|
||||
# Split query strings from path.
|
||||
path = url.path[1:]
|
||||
|
|
|
|||
Loading…
Reference in a new issue