Updated docs

This commit is contained in:
Ross Lawley
2012-11-08 16:40:58 +00:00
parent f265915aa2
commit dfdc0d92c3
3 changed files with 5 additions and 5 deletions

View File

@@ -597,7 +597,7 @@ Working with existing data
As MongoEngine no longer defaults to needing :attr:`_cls` you can quickly and
easily get working with existing data. Just define the document to match
the expected schema in your database. If you have wildly varying schemas then
a :class:`~mongoengine.DynamicDocument` might be more appropriate.
a :class:`~mongoengine.DynamicDocument` might be more appropriate. ::
# Will work with data in an existing collection named 'cmsPage'
class Page(Document):

View File

@@ -64,7 +64,7 @@ document values for example::
.. note::
Cleaning is only called if validation is turned on and when calling
:meth:`~mongoengine.Document.save`.
:meth:`~mongoengine.Document.save`.
Cascading Saves
---------------