File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ following parts can be considered stable.
12
12
``parse_uri() ``
13
13
===============
14
14
15
- .. function :: parse_uri(uri, db_name=None, test=None)
15
+ .. function :: parse_uri(uri, db_name=None, test=None, options=None )
16
16
17
17
Parses a MongoDB `connection string `_ into a dictionary suitable for
18
18
Django's :setting: `DATABASES ` setting.
@@ -35,5 +35,8 @@ following parts can be considered stable.
35
35
- Use ``test `` to provide a dictionary of settings for test databases in
36
36
the format of :setting: `TEST <DATABASE-TEST> `.
37
37
38
+ - Use ``options `` to provide a dictionary of connection options to PyMongo.
39
+ These will be merged with options specified in the URI.
40
+
38
41
But for maximum flexibility, construct :setting: `DATABASES ` manually as
39
42
described in :ref: `configuring-databases-setting `.
You can’t perform that action at this time.
0 commit comments