diff --git a/docs/changelog.rst b/docs/changelog.rst index 1300b5fd..4e9dea58 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -9,6 +9,7 @@ Changes in 0.10.1 - DEV - Fix ignored chained options #842 - Document save's save_condition error raises `SaveConditionError` exception #1070 - Fix Document.reload for DynamicDocument. #1050 +- StrictDict & SemiStrictDict are shadowed at init time. #1105 Changes in 0.10.0 ================= diff --git a/mongoengine/base/document.py b/mongoengine/base/document.py index ee807cb4..6353162a 100644 --- a/mongoengine/base/document.py +++ b/mongoengine/base/document.py @@ -85,7 +85,6 @@ class BaseDocument(object): self._data = SemiStrictDict.create( allowed_keys=self._fields_ordered)() - self._data = {} self._dynamic_fields = SON() # Assign default values to instance