diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2025-10-31 14:33:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-31 14:33:27 +0100 |
| commit | 05ba1a9228128614fb3c475f1c4bdf0160f44dba (patch) | |
| tree | 8642d4690a5844e29b8454d603214f62845d95c2 /docs | |
| parent | 601914722956cc41f1f2c53972d669ddee6ffc04 (diff) | |
Fixed #36661 -- Added introspection of database-level delete options.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/6.1.txt | 5 |
1 files changed, 5 insertions, 0 deletions
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` ------------------------- |
