mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-02 19:40:13 +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):
|
||||
"""
|
||||
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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user