From 7ce01e272a2e2b27bb235e44ad673d60f65ed2d2 Mon Sep 17 00:00:00 2001 From: Sam Partington Date: Thu, 9 Aug 2012 09:59:49 +0100 Subject: [PATCH] Added note about onDelete cascade --- mandango/reference-mapping.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mandango/reference-mapping.rst b/mandango/reference-mapping.rst index 32bf17c..7937ae0 100644 --- a/mandango/reference-mapping.rst +++ b/mandango/reference-mapping.rst @@ -33,6 +33,9 @@ References One .. note:: You must indicate the full class. +.. note:: + When adding a Reference One, you can specify that deletes on the parent object should "cascade", so that child objects are also deleted. For this, use 'onDelete' => 'cascade'. + References Many ---------------