From 0d4c4d3d349aebc6009463c3a9ae80799f50f2fd Mon Sep 17 00:00:00 2001 From: Bastien Gerard <bast.gerard@gmail.com> Date: Sun, 8 Sep 2024 23:15:15 +0200 Subject: [PATCH] Fix typo in doc related with DynamicDocument --- docs/guide/defining-documents.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/guide/defining-documents.rst b/docs/guide/defining-documents.rst index cc59a8c10..746c69a1b 100644 --- a/docs/guide/defining-documents.rst +++ b/docs/guide/defining-documents.rst @@ -842,10 +842,8 @@ the expected schema in your database :: If you have wildly varying schemas then using a :class:`~mongoengine.DynamicDocument` might be more appropriate, instead of -defining all possible field types. - -If you use :class:`~mongoengine.Document` and the database contains data that -isn't defined then that data will be stored in the `document._data` dictionary. +defining all possible field types. If you use :class:`~mongoengine.DynamicDocument` and the database contains data that +isn't defined then that data will be stored in the `document._data` dictionary (and available as regular attributes). Abstract classes ================