Skip to content

Commit c1802db

Browse files
committed
Merge pull request encode#4018 from tomviner/bugfix-cramer-cursors-link
remove trailing slash from cramer cursor link
2 parents f9304b6 + 3e5a139 commit c1802db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/topics/3.1-announcement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Note that as a result of this work a number of settings keys and generic view at
3030

3131
Until now, there has only been a single built-in pagination style in REST framework. We now have page, limit/offset and cursor based schemes included by default.
3232

33-
The cursor based pagination scheme is particularly smart, and is a better approach for clients iterating through large or frequently changing result sets. The scheme supports paging against non-unique indexes, by using both cursor and limit/offset information. It also allows for both forward and reverse cursor pagination. Much credit goes to David Cramer for [this blog post](http://cramer.io/2011/03/08/building-cursors-for-the-disqus-api/) on the subject.
33+
The cursor based pagination scheme is particularly smart, and is a better approach for clients iterating through large or frequently changing result sets. The scheme supports paging against non-unique indexes, by using both cursor and limit/offset information. It also allows for both forward and reverse cursor pagination. Much credit goes to David Cramer for [this blog post](http://cramer.io/2011/03/08/building-cursors-for-the-disqus-api) on the subject.
3434

3535
#### Pagination controls in the browsable API.
3636

rest_framework/pagination.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ class CursorPagination(BasePagination):
400400
"""
401401
The cursor pagination implementation is neccessarily complex.
402402
For an overview of the position/offset style we use, see this post:
403-
http://cramer.io/2011/03/08/building-cursors-for-the-disqus-api/
403+
http://cramer.io/2011/03/08/building-cursors-for-the-disqus-api
404404
"""
405405
cursor_query_param = 'cursor'
406406
page_size = api_settings.PAGE_SIZE

0 commit comments

Comments
 (0)