On Jun 21, 1:23 pm, Tyson Tate <[EMAIL PROTECTED]> wrote: > Look at "next" and "previous" context variables. You can do: > > <a href="/url/page{{ next }}">Next</a> > > and > > <a href="/url/page{{ previous }}">Previous</a>
Right, but it's the 'href="/url/..."' part that doesn't feel right to me. If I either want to (a) re-use this template for other URLs (list view by tag, list view by date, etc) or (b) decide later that I want / url/ to be /foo/ in urls.py, then I have to remember to change the template, which I don't trust myself to do. I was kind of expecting to find in the pagination context variables a prev_url and next_url I could use and not have to build my own in the template. I don't see all the pieces I'd need to make the /url/ part be more dynamic. Thanks, Rob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---