Skip to content

Commit

Permalink
step
Browse files Browse the repository at this point in the history
  • Loading branch information
vb64 committed Feb 19, 2024
1 parent 4952fe1 commit 96229f9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions django_admin_filters/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ def __init__(self, field, request, params, model, model_admin, field_path):
super().__init__(field, request, params, model, model_admin, field_path)
self.set_title()

def get_facet_counts(self, _pk_attname, _filtered_qs):
"""Django5 amin site Facets.
https://docs.djangoproject.com/en/5.0/ref/contrib/admin/filters/#facet-filters
"""
return {}

def value(self):
"""Return the string provided in the request's query string.
Expand Down

0 comments on commit 96229f9

Please sign in to comment.