mirror of
https://github.com/django/django.git
synced 2025-10-27 07:36:08 +00:00
[1.11.x] Fixed #28202 -- Fixed FieldListFilter.get_queryset() crash on invalid input.
Backport of 4ad2f86284 from master
This commit is contained in:
@@ -176,7 +176,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):
|
||||
|
||||
Reference in New Issue
Block a user