diff --git a/docs/changelog.rst b/docs/changelog.rst index b904a2b8..5898eb1f 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -6,6 +6,7 @@ Changelog Development =========== - (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 ================= diff --git a/mongoengine/fields.py b/mongoengine/fields.py index c20333a8..10bba54b 100644 --- a/mongoengine/fields.py +++ b/mongoengine/fields.py @@ -1162,7 +1162,7 @@ class ReferenceField(BaseField): :param document_type: The type of Document that will be referenced :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 object is deleted :param kwargs: Keyword arguments passed into the parent :class:`~mongoengine.BaseField`