We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f65be52 commit aec3793Copy full SHA for aec3793
django_mongodb/utils.py
@@ -38,7 +38,7 @@ def parse(uri):
38
else:
39
nodelist = uri.get("nodelist")
40
if len(nodelist) == 1:
41
- host, port = nodelist[0].split(":")
+ host, port = nodelist[0]
42
elif len(nodelist) > 1:
43
host = ",".join([f"{host}:{port}" for host, port in nodelist])
44
0 commit comments