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
@ -388,7 +388,7 @@ class Document(BaseDocument):
|
||||
user.save()
|
||||
|
||||
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
|
||||
document
|
||||
|
Loading…
x
Reference in New Issue
Block a user