Updating Dict Fields use description

Update dict fields use misleading description to clarify use case.
This commit is contained in:
BenCotte 2016-11-20 11:19:36 +01:00
parent 43dabb2825
commit d8dd07d9ef

View File

@ -214,9 +214,9 @@ 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 not recommended as dictionaries don't support validation or custom field embedded documents are recommended as dictionaries dont support validation
types. However, sometimes you will not know the structure of what you want to or custom field 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::
class SurveyResponse(Document): class SurveyResponse(Document):