mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Fixed #28202 -- Fixed FieldListFilter.get_queryset() crash on invalid input.
This commit is contained in:
parent
7f238097c0
commit
4ad2f86284
4 changed files with 15 additions and 2 deletions
|
@ -165,7 +165,7 @@ class CustomArticleAdmin(admin.ModelAdmin):
|
|||
|
||||
|
||||
class ThingAdmin(admin.ModelAdmin):
|
||||
list_filter = ('color__warm', 'color__value', 'pub_date',)
|
||||
list_filter = ('color', 'color__warm', 'color__value', 'pub_date')
|
||||
|
||||
|
||||
class InquisitionAdmin(admin.ModelAdmin):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue