From e3d795a910964e48f5289fbcdefde2c5a6361c43 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Wed, 15 Jun 2016 11:54:59 -0700 Subject: [PATCH] Rename class --- drf-ember-pagination/__init__.py | 1 + drf-ember-pagination/pagination.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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):