Skip to content

Commit

Permalink
Add docs about connection string handling
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Jan 15, 2025
1 parent 5436690 commit f72727c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ You can configure Flask-PyMongo either by passing a `MongoDB URI
``MONGO_URI`` `Flask configuration variable
<http://flask.pocoo.org/docs/1.0/config/>`_

.. note::

Flask-PyMongo passes the connection string directly to PyMongo, so all behavior about interpretation of the connection string is determined by PyMongo itself.
See the Connection String examples on the `PyMongo docs <https://www.mongodb.com/docs/languages/python/pymongo-driver/current/security/authentication/>`_ for more information.


The :class:`~flask_pymongo.PyMongo` instance also accepts these additional
customization options:

Expand Down

0 comments on commit f72727c

Please sign in to comment.