I'm displaying a large list of objects that are paginated by the
Django Paginator. The list is rendered in a form, so that the user can
limit the objects shown. The problem is that when I limit something I
need to repaginate that result.

Now, for example if I come from page 5 and limit the output I need to
set the viewed page back to 1, because there might not be a page 5 in
the new selection, causing an invalidpage error. I can set this back
without any problem. The only thing that's a bit ugly is the fact that
in the url the page number 5 is still displayed. Even thought I
changed the path variable in the request object before passing it the
template.


Stephane


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to