Commit d4063eb0 by Tom Christie

Fix incorrect method signature in docs

parent 2efb5f8a
......@@ -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.
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment