mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-03-03 19:00:17 +03:00
Fix incorrect method signature in docs
This commit is contained in:
parent
2efb5f8a14
commit
d4063eb02e
|
@ -30,7 +30,7 @@ For more complex cases you might also want to override various methods on the vi
|
|||
serializer_class = UserSerializer
|
||||
permission_classes = (IsAdminUser,)
|
||||
|
||||
def get_paginate_by(self):
|
||||
def get_paginate_by(self, queryset):
|
||||
"""
|
||||
Use smaller pagination for HTML representations.
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user