Updated docs regarding fields

refs hmarr/mongoengine#535
This commit is contained in:
Ross Lawley
2012-07-11 15:56:34 +01:00
parent f55b241cfa
commit 1ce2f84ce5
2 changed files with 23 additions and 17 deletions

View File

@@ -477,7 +477,10 @@ class GenericEmbeddedDocumentField(BaseField):
class DynamicField(BaseField):
"""Used by :class:`~mongoengine.DynamicDocument` to handle dynamic data"""
"""A tryly dynamic field type capable of handling different and varying
types of data.
Used by :class:`~mongoengine.DynamicDocument` to handle dynamic data"""
def to_mongo(self, value):
"""Convert a Python type to a MongoDBcompatible type.