mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #35020 -- Fixed ModelAdmin.lookup_allowed() for non-autofield primary keys.
Thanks Joshua Goodwin for the report.
Regression in 45ecd9acca.
This commit is contained in:
committed by
Mariusz Felisiak
parent
00ef74376e
commit
f80669d2f5
@@ -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`).
|
||||
|
||||
Reference in New Issue
Block a user