update changelog and fix minor typo in docstring

This commit is contained in:
Bastien Gerard 2021-02-23 21:51:41 +01:00
parent 97c99ca40d
commit 1f220b4eaf
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ Changelog
Development Development
=========== ===========
- (Fill this out as you fix issues and develop your features). - (Fill this out as you fix issues and develop your features).
- Bugfix: manually setting SequenceField in DynamicDocument doesn't increment the counter #2471
Changes in 0.22.1 Changes in 0.22.1
================= =================

View File

@ -1162,7 +1162,7 @@ class ReferenceField(BaseField):
:param document_type: The type of Document that will be referenced :param document_type: The type of Document that will be referenced
:param dbref: Store the reference as :class:`~pymongo.dbref.DBRef` :param dbref: Store the reference as :class:`~pymongo.dbref.DBRef`
or as the :class:`~pymongo.objectid.ObjectId`.id . or as the :class:`~pymongo.objectid.ObjectId`.
:param reverse_delete_rule: Determines what to do when the referring :param reverse_delete_rule: Determines what to do when the referring
object is deleted object is deleted
:param kwargs: Keyword arguments passed into the parent :class:`~mongoengine.BaseField` :param kwargs: Keyword arguments passed into the parent :class:`~mongoengine.BaseField`