On 30 Sep 2008, at 8:03 am, Alex Rades wrote:
> while it's very useful, I don't like it too much, so I'm asking you > what is the best practice here. I tend to do: {% for page in page_list %} <li><a href="{{ page.get_absolute_url }}"{% ifequal request.path page.get_absolute_url %} class="current_active"{% endif %}>{{ page }} </a></li> {% endfor %} But that obviously requires you to have a list of pages in your context. -- David Reynolds [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---