Commit fe5d93c8 by Craig Blaszczyk

remove hardcoded page number

parent 3819ae35
......@@ -122,7 +122,6 @@ class GenericAPIView(views.APIView):
else:
raise NotFound(_("Choose a valid page number. Page numbers must be a whole number, or must be the string 'last'."))
page_number = -1
try:
page = paginator.page(page_number)
except InvalidPage as exc:
......
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