From 264003146f951a798e573ca563d0bf817fb91ad3 Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Sun, 8 Jun 2025 10:17:52 -0400 Subject: [PATCH] [5.2.x] Refs #373 -- Doc'd that on_delete is ignored for ForeignObject. Backport of 76e1ca77bc9cdfa12df9541c32b75af926dbdfea from main. --- docs/topics/composite-primary-key.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/composite-primary-key.txt b/docs/topics/composite-primary-key.txt index adb4ddee5a..553f277b49 100644 --- a/docs/topics/composite-primary-key.txt +++ b/docs/topics/composite-primary-key.txt @@ -124,7 +124,7 @@ alternative:: ``ForeignObject`` is much like ``ForeignKey``, except that it doesn't create any columns (e.g. ``item_id``), foreign key constraints or indexes in the -database. +database, and the ``on_delete`` argument is ignored. .. warning::