Format method docstring

This commit is contained in:
Charles McBride 2018-02-26 15:41:36 -05:00
parent 3a8e1d82ab
commit 0a2fd62053

View File

@ -460,8 +460,8 @@ class LimitOffsetPagination(BasePagination):
def get_count(self, queryset): 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: try:
return queryset.count() return queryset.count()
except (AttributeError, TypeError): except (AttributeError, TypeError):