We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60b9e58 commit 11e5851Copy full SHA for 11e5851
docs/api-guide/pagination.md
@@ -226,8 +226,8 @@ Suppose we want to replace the default pagination output style with a modified f
226
def get_paginated_response(self, data):
227
return Response({
228
'links': {
229
- 'next': self.get_next_link(),
230
- 'previous': self.get_previous_link()
+ 'next': self.get_next_link(),
+ 'previous': self.get_previous_link()
231
},
232
'count': self.page.paginator.count,
233
'results': data
0 commit comments