diff options
| author | Tom Christie | 2015-01-22 10:51:04 +0000 | 
|---|---|---|
| committer | Tom Christie | 2015-01-22 10:51:04 +0000 | 
| commit | f1af603fb05fce236a4258e18df8af8888043247 (patch) | |
| tree | 2aae389b16fbfdcfbd68f06cf788cf6bbf4f5ad6 /rest_framework | |
| parent | cae9528c54ea13863ea056d40168e8d8df68b276 (diff) | |
| download | django-rest-framework-f1af603fb05fce236a4258e18df8af8888043247.tar.bz2 | |
Tests for reverse pagination
Diffstat (limited to 'rest_framework')
| -rw-r--r-- | rest_framework/pagination.py | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/rest_framework/pagination.py b/rest_framework/pagination.py index 9e22a8bf..d5af2ac8 100644 --- a/rest_framework/pagination.py +++ b/rest_framework/pagination.py @@ -408,6 +408,8 @@ def encode_cursor(cursor):  class CursorPagination(BasePagination):      # TODO: handle queries with '' as a legitimate position +    # Support case where ordering is already negative +    # Support tuple orderings      cursor_query_param = 'cursor'      page_size = 5 | 
