Merge branch 'master' of github.com:MongoEngine/mongoengine into add_migration_documentation

This commit is contained in:
Bastien Gérard
2020-11-11 21:18:52 +01:00
10 changed files with 109 additions and 74 deletions

View File

@@ -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`: ::