remove hardcoded page number

This commit is contained in:
Craig Blaszczyk 2015-01-07 11:44:18 +00:00
parent 3819ae35ac
commit fe5d93c8cb

View File

@ -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: