diff options
| author | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2023-12-06 19:03:41 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-12-07 08:44:59 +0100 |
| commit | 454fd50efb4b6bba54abdbcc01507190c780382f (patch) | |
| tree | af2cc9907c2303602e638453cc01f4972b3fd946 /docs | |
| parent | da2475a21719976815f87408ee404f0e8512fc31 (diff) | |
[5.0.x] Fixed #35020 -- Fixed ModelAdmin.lookup_allowed() for non-autofield primary keys.
Thanks Joshua Goodwin for the report.
Regression in 45ecd9acca9b36093e274f47b6877a5f79108d9e.
Backport of f80669d2f5a5f1db9e9b73ca893fefba34f955e7 from main
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.0.1.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/releases/5.0.1.txt b/docs/releases/5.0.1.txt index f1b6e0f8bb..871f55ec6d 100644 --- a/docs/releases/5.0.1.txt +++ b/docs/releases/5.0.1.txt @@ -9,4 +9,6 @@ Django 5.0.1 fixes several bugs in 5.0. Bugfixes ======== -* ... +* Reallowed, following a regression in Django 5.0, using a foreign key to a + model with a primary key that is not ``AutoField`` in + :attr:`.ModelAdmin.list_filter` (:ticket:`35020`). |
