Merge pull request #325 from daxtens/doc-fixes
Minor documentation fix: switch_collection -> switch_db for changing database
This commit is contained in:
commit
7e706190a5
1 changed files with 1 additions and 1 deletions
|
|
@ -388,7 +388,7 @@ class Document(BaseDocument):
|
||||||
user.save()
|
user.save()
|
||||||
|
|
||||||
If you need to read from another database see
|
If you need to read from another database see
|
||||||
:class:`~mongoengine.context_managers.switch_collection`
|
:class:`~mongoengine.context_managers.switch_db`
|
||||||
|
|
||||||
:param collection_name: The database alias to use for saving the
|
:param collection_name: The database alias to use for saving the
|
||||||
document
|
document
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue