mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-29 17:39:48 +03:00
Remove unnecessary super call
This commit is contained in:
parent
825233ca73
commit
577d70d549
|
@ -234,7 +234,6 @@ def paginate(pagination_class=None, **kwargs):
|
||||||
class _Pagination(pagination_class):
|
class _Pagination(pagination_class):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.__dict__.update(kwargs)
|
self.__dict__.update(kwargs)
|
||||||
super(_Pagination, self).__init__()
|
|
||||||
|
|
||||||
def decorator(_class):
|
def decorator(_class):
|
||||||
_class.pagination_class = _Pagination
|
_class.pagination_class = _Pagination
|
||||||
|
|
Loading…
Reference in New Issue
Block a user