1
0
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:
Paulo
2017-06-03 18:13:38 -04:00
committed by Tim Graham
parent b373812b0b
commit a0707947e4
4 changed files with 15 additions and 2 deletions

View File

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