Skip to content
Advertisement

Tag: django-filter

Django-filter: count data

Does anybody knows how can I use count based on selected value using django_filters Error My Reference link views.py filters.py user_list.html I want to count all the list base from data I filtered Answer You’ll want the count of the resulting queryset, which you can get from the filter’s qs property (as you do in your template!). Change to

Advertisement