mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 03:23:59 +03:00
Remove whitespace and comment changes
This commit is contained in:
parent
14a32ae32d
commit
2b51d5594b
|
@ -449,11 +449,7 @@ class CursorPagination(BasePagination):
|
||||||
http://cramer.io/2011/03/08/building-cursors-for-the-disqus-api/
|
http://cramer.io/2011/03/08/building-cursors-for-the-disqus-api/
|
||||||
"""
|
"""
|
||||||
cursor_query_param = 'cursor'
|
cursor_query_param = 'cursor'
|
||||||
|
|
||||||
# The default page size.
|
|
||||||
# Defaults to `None`, meaning pagination is disabled.
|
|
||||||
page_size = api_settings.PAGE_SIZE
|
page_size = api_settings.PAGE_SIZE
|
||||||
|
|
||||||
invalid_cursor_message = _('Invalid cursor')
|
invalid_cursor_message = _('Invalid cursor')
|
||||||
ordering = '-created'
|
ordering = '-created'
|
||||||
template = 'rest_framework/pagination/previous_and_next.html'
|
template = 'rest_framework/pagination/previous_and_next.html'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user