Skip to content

Commit f72727c

Browse files
committed
Add docs about connection string handling
1 parent 5436690 commit f72727c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ You can configure Flask-PyMongo either by passing a `MongoDB URI
9393
``MONGO_URI`` `Flask configuration variable
9494
<http://flask.pocoo.org/docs/1.0/config/>`_
9595

96+
.. note::
97+
98+
Flask-PyMongo passes the connection string directly to PyMongo, so all behavior about interpretation of the connection string is determined by PyMongo itself.
99+
See the Connection String examples on the `PyMongo docs <https://www.mongodb.com/docs/languages/python/pymongo-driver/current/security/authentication/>`_ for more information.
100+
101+
96102
The :class:`~flask_pymongo.PyMongo` instance also accepts these additional
97103
customization options:
98104

0 commit comments

Comments
 (0)