1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed #28202 -- Fixed FieldListFilter.get_queryset() crash on invalid input.

This commit is contained in:
Paulo
2017-06-03 18:13:38 -04:00
committed by Tim Graham
parent 7f238097c0
commit 4ad2f86284
4 changed files with 15 additions and 2 deletions

View File

@@ -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):