diff --git a/rest_framework/pagination.py b/rest_framework/pagination.py index e9c4560d6..1c57f17d3 100644 --- a/rest_framework/pagination.py +++ b/rest_framework/pagination.py @@ -460,8 +460,8 @@ class LimitOffsetPagination(BasePagination): def get_count(self, queryset): """ - Determine an object count, supporting either querysets or regular lists. - """ + Determine an object count, supporting either querysets or regular lists. + """ try: return queryset.count() except (AttributeError, TypeError):