Fix incorrect method signature in docs

This commit is contained in:
Tom Christie 2012-10-26 12:46:31 +01:00
parent 2efb5f8a14
commit d4063eb02e

View File

@ -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.
"""