fix type hint

This commit is contained in:
Nick Sweeting 2024-08-28 00:26:37 -07:00
parent f9ca7fe717
commit b789be098d
No known key found for this signature in database

View file

@ -138,7 +138,7 @@ class AccelleratedPaginator(Paginator):
@cached_property
def count(self):
if self.object_list._has_filters():
if self.object_list._has_filters(): # type: ignore
# fallback to normal count method on filtered queryset
return super().count
else: