mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-03 12:00:12 +03:00
Format method docstring
This commit is contained in:
parent
3a8e1d82ab
commit
0a2fd62053
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user