summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
86ca391)
git-svn-id: https://django-pagination.googlecode.com/svn/trunk@28
7f1efe38-554e-0410-b69d-
834cb44da2d5
def process_request(self, request):
try:
request.page = int(request.REQUEST['page'])
def process_request(self, request):
try:
request.page = int(request.REQUEST['page'])
- except (KeyError, ValueError):
+ except (KeyError, ValueError, TypeError):
request.page = 1
\ No newline at end of file
request.page = 1
\ No newline at end of file