From 05ba1a9228128614fb3c475f1c4bdf0160f44dba Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Fri, 31 Oct 2025 14:33:27 +0100 Subject: Fixed #36661 -- Added introspection of database-level delete options. --- docs/releases/6.1.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/releases/6.1.txt b/docs/releases/6.1.txt index dba26cca05..036fee53cf 100644 --- a/docs/releases/6.1.txt +++ b/docs/releases/6.1.txt @@ -314,6 +314,11 @@ backends. database has native support for ``DurationField``, override this method to simply return the value. +* The ``DatabaseIntrospection.get_relations()`` should now return a dictionary + with 3-tuples containing (``field_name_other_table``, ``other_table``, + ``db_on_delete``) as values. ``db_on_delete`` is one of the database-level + delete options e.g. :attr:`~django.db.models.DB_CASCADE`. + :mod:`django.contrib.gis` ------------------------- -- cgit v1.3