Rename class
This commit is contained in:
parent
0e85351fbd
commit
e3d795a910
2 changed files with 2 additions and 1 deletions
|
@ -0,0 +1 @@
|
|||
from pagination import EmberPageNumberPagination
|
|
@ -79,7 +79,7 @@ def _get_page_links(page_numbers, current):
|
|||
return page_links
|
||||
|
||||
|
||||
class CustomPageNumberPagination(pagination.PageNumberPagination):
|
||||
class EmberPageNumberPagination(pagination.PageNumberPagination):
|
||||
page_size_query_param = 'page_size'
|
||||
|
||||
def get_paginated_response(self, data):
|
||||
|
|
Reference in a new issue