~netlandish/django-pagination

184a0afb64cc0bb105abea431bdbc8a5f1b0999c — leidel 16 years ago c565d46
Fixed #12, updated middleware to access request variable with request.REQUEST dict, thanks jphalip

git-svn-id: https://django-pagination.googlecode.com/svn/trunk@24 7f1efe38-554e-0410-b69d-834cb44da2d5
1 files changed, 1 insertions(+), 1 deletions(-)

M pagination/middleware.py
M pagination/middleware.py => pagination/middleware.py +1 -1
@@ 5,6 5,6 @@ class PaginationMiddleware(object):
    """
    def process_request(self, request):
        try:
            request.page = int(request['page'])
            request.page = int(request.REQUEST['page'])
        except (KeyError, ValueError):
            request.page = 1
\ No newline at end of file