diff --git a/docs/guide/connecting.rst b/docs/guide/connecting.rst index ac2146a6..03d6ed5c 100644 --- a/docs/guide/connecting.rst +++ b/docs/guide/connecting.rst @@ -31,6 +31,8 @@ the :attr:`host` to connect('project1', host='mongodb://localhost/database_name') +.. note:: URI containing SRV records (e.g mongodb+srv://server.example.com/) can be used as well as the :attr:`host` + .. note:: Database, username and password from URI string overrides corresponding parameters in :func:`~mongoengine.connect`: ::