Dictionnary Field recommended use

At Dictionary Fields description, it seems that the intent of the sentence make more sense by adding : "not".
This commit is contained in:
BenCotte 2016-10-11 18:14:17 +02:00 committed by GitHub
parent 05e40e5681
commit 43dabb2825

View File

@ -215,7 +215,7 @@ document class as the first argument::
Dictionary Fields Dictionary Fields
----------------- -----------------
Often, an embedded document may be used instead of a dictionary -- generally Often, an embedded document may be used instead of a dictionary -- generally
this is recommended as dictionaries don't support validation or custom field this is not recommended as dictionaries don't support validation or custom field
types. However, sometimes you will not know the structure of what you want to types. However, sometimes you will not know the structure of what you want to
store; in this situation a :class:`~mongoengine.fields.DictField` is appropriate:: store; in this situation a :class:`~mongoengine.fields.DictField` is appropriate::