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 8329411 commit 632fc98Copy full SHA for 632fc98
docs/api-guide/pagination.md
@@ -246,11 +246,11 @@ Let's modify the built-in `PageNumberPagination` style, so that instead of inclu
246
previous_url = self.get_previous_link()
247
248
if next_url is not None and previous_url is not None:
249
- link = '<{next_url}; rel="next">, <{previous_url}; rel="prev">'
+ link = '<{next_url}>; rel="next", <{previous_url}>; rel="prev"'
250
elif next_url is not None:
251
- link = '<{next_url}; rel="next">'
+ link = '<{next_url}>; rel="next"'
252
elif previous_url is not None:
253
- link = '<{previous_url}; rel="prev">'
+ link = '<{previous_url}>; rel="prev"'
254
else:
255
link = ''
256
0 commit comments