Skip to content

Commit dbefe69

Browse files
committed
Updated docstrings
1 parent 1a15fa1 commit dbefe69

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rest_framework_json_api/pagination.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def to_representation(self, value):
3030

3131
class NextPageField(ReadOnlyField):
3232
"""
33-
Field that returns a link to the next page in paginated results.
33+
Field that returns a the next page number in paginated results.
3434
"""
3535
page_field = 'page'
3636

@@ -57,7 +57,7 @@ def to_representation(self, value):
5757

5858
class PreviousPageField(ReadOnlyField):
5959
"""
60-
Field that returns a link to the previous page in paginated results.
60+
Field that returns the previous page number in paginated results.
6161
"""
6262
page_field = 'page'
6363

@@ -69,7 +69,7 @@ def to_representation(self, value):
6969

7070
class PageField(ReadOnlyField):
7171
"""
72-
Field that returns a link to the previous page in paginated results.
72+
Field that returns the current page number in paginated results.
7373
"""
7474
page_field = 'page'
7575

@@ -106,7 +106,7 @@ class EmberPaginationSerializer(PaginationSerializer):
106106

107107
class PageNumberPagination(BasePagination):
108108
"""
109-
An Ember (soon to be json-api) compatible pagination format
109+
A json-api compatible pagination format
110110
"""
111111

112112
def build_link(self, index):

0 commit comments

Comments
 (0)