mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-04-14 03:41:07 +00:00
minor bugfix
This commit is contained in:
parent
aefd7d8df0
commit
229db4ff86
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ def build_list_filter(request, model_admin, queryset):
|
|||
"""
|
||||
# if ``list_filter`` is not iterable return it right away
|
||||
if not isinstance(model_admin.list_filter, collections.Iterable):
|
||||
return queryset.model_admin.list_filter(
|
||||
return model_admin.list_filter(
|
||||
request.GET,
|
||||
queryset=queryset,
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue