Merge pull request #1886 from bagerard/patch-4
Updating inheritance doc
This commit is contained in:
commit
4d8bebc917
@ -737,6 +737,9 @@ document.::
|
||||
.. note:: From 0.8 onwards :attr:`allow_inheritance` defaults
|
||||
to False, meaning you must set it to True to use inheritance.
|
||||
|
||||
Setting :attr:`allow_inheritance` to True should also be used in
|
||||
:class:`~mongoengine.EmbeddedDocument` class in case you need to subclass it
|
||||
|
||||
Working with existing data
|
||||
--------------------------
|
||||
As MongoEngine no longer defaults to needing :attr:`_cls`, you can quickly and
|
||||
|
Loading…
x
Reference in New Issue
Block a user