EmbeddedDocuments dont support Reverse Delete Rules

Now throws an InvalidDocumentError

Refs #227
This commit is contained in:
Ross Lawley
2011-12-02 02:46:55 -08:00
parent d06c5f036b
commit e231f71b4a
3 changed files with 25 additions and 2 deletions

View File

@@ -8,10 +8,11 @@ Upgrading
Embedded Documents - if you had a `pk` field you will have to rename it from `_id`
to `pk` as pk is no longer a property of Embedded Documents.
Reverse Delete Rules in Embedded Documents, MapFields and DictFields now throw
an InvalidDocument error as they aren't currently supported.
Document._get_subclasses - Is no longer used and the class method has been removed.
Reverse Delete Rules on MapFields and DictFields now throw a InvalidDocument error
as they aren't supported.
0.4 to 0.5
===========