diff --git a/drf-ember-pagination/__init__.py b/drf-ember-pagination/__init__.py index e69de29..ee7f76a 100644 --- a/drf-ember-pagination/__init__.py +++ b/drf-ember-pagination/__init__.py @@ -0,0 +1 @@ +from pagination import EmberPageNumberPagination diff --git a/drf-ember-pagination/pagination.py b/drf-ember-pagination/pagination.py index 28d8714..bb1fec0 100644 --- a/drf-ember-pagination/pagination.py +++ b/drf-ember-pagination/pagination.py @@ -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):