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.
1212``parse_uri() ``
1313===============
1414
15- .. function :: parse_uri(uri, db_name=None, test=None)
15+ .. function :: parse_uri(uri, db_name=None, test=None, options=None )
1616
1717 Parses a MongoDB `connection string `_ into a dictionary suitable for
1818 Django's :setting: `DATABASES ` setting.
@@ -35,5 +35,8 @@ following parts can be considered stable.
3535 - Use ``test `` to provide a dictionary of settings for test databases in
3636 the format of :setting: `TEST <DATABASE-TEST> `.
3737
38+ - Use ``options `` to provide a dictionary of connection options to PyMongo.
39+ These will be merged with options specified in the URI.
40+
3841 But for maximum flexibility, construct :setting: `DATABASES ` manually as
3942 described in :ref: `configuring-databases-setting `.
You can’t perform that action at this time.
0 commit comments