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 42b8cc6 commit 8c6c8faCopy full SHA for 8c6c8fa
django_mongodb/utils.py
@@ -27,7 +27,13 @@ def check_django_compatability():
27
28
29
def parse(uri):
30
- uri = parse_uri(str(uri))
+ """
31
+ Parse a MongoDB URI and return a dictionary of Django database
32
+ settings. This function is a wrapper around PyMongo's
33
+ ``pymongo.uri_parser.parse_uri()`` function that converts PyMongo's
34
+ settings dictionary into a Django database settings dictionary.
35
36
+ uri = parse_uri(uri)
37
38
host = None
39
port = None
0 commit comments