Hi,
I need to make a links section for a django project that show only the non active links, ie. if i'm at home, the section only shows the about link and not the home link.
Im using something like this in my template:
{% ifequal item.url request.path %}
<a href = "{{item.url}}" > {{item.name}} </a>
{% endifequal %}
it works fine but, if for example I visit "/section/page/" the "section" link still showing and i don't want to this happen.
it was wordering if i can use something like:
{% ifequal item.url+* request.path %}
any body can give me a clue to solve this problem?
thanks in advance