This change fixes an AttributeError that was showing up (and flooding) the production logs but weren't caught locally for some reason ... anyway, the cause of the error was that request.GET was empty at initial load so request.GET.complete_page and request.GET.incomplete_page would return an AttributeError which would only go away after one of those request links (i.e., next page, previous page, show all, show pages) were clicked.
This change fixes an
AttributeError
that was showing up (and flooding) the production logs but weren't caught locally for some reason ... anyway, the cause of the error was thatrequest.GET
was empty at initial load sorequest.GET.complete_page
andrequest.GET.incomplete_page
would return anAttributeError
which would only go away after one of those request links (i.e., next page, previous page, show all, show pages) were clicked.