From 939bd2bb1f519a99d906433d9f4e87fc017b8874 Mon Sep 17 00:00:00 2001 From: Ross Lawley Date: Fri, 2 Dec 2011 02:49:16 -0800 Subject: [PATCH] Updated Documentation --- docs/index.rst | 3 ++- mongoengine/fields.py | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 920ddf60..a574f29c 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -42,7 +42,8 @@ Also, you can join the developers' `mailing list Changes ------- -See the :doc:`changelog` for a full list of changes to MongoEngine. +See the :doc:`changelog` for a full list of changes to MongoEngine and +:doc:`upgrade` for upgrade information. .. toctree:: :hidden: diff --git a/mongoengine/fields.py b/mongoengine/fields.py index cf72e78b..68d7acee 100644 --- a/mongoengine/fields.py +++ b/mongoengine/fields.py @@ -597,7 +597,9 @@ class ReferenceField(BaseField): access (lazily). Use the `reverse_delete_rule` to handle what should happen if the document - the field is referencing is deleted. + the field is referencing is deleted. EmbeddedDocuments, DictFields and + MapFields do not support reverse_delete_rules and an `InvalidDocumentError` + will be raised if trying to set on one of these Document / Field types. The options are: