1
0
mirror of https://github.com/django/django.git synced 2025-06-13 15:39:13 +00:00

[5.2.x] Refs #373 -- Doc'd that on_delete is ignored for ForeignObject.

Backport of 76e1ca77bc9cdfa12df9541c32b75af926dbdfea from main.
This commit is contained in:
Jacob Walls 2025-06-08 10:17:52 -04:00 committed by Sarah Boyce
parent 6f99c8856d
commit 264003146f

View File

@ -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::