On Tue, 2007-06-05 at 11:45 +0200, Sven Broeckling wrote:
> Hi everyone,
>
> i use django for a small fun website, and it's really fun to create
> applications with it. Now i'm stuck with a behaviour i can't
> comprehend.
>
> I have a category list in my base template :
>
> ------[snip]----------------------------------------------------------
> {% if categorylist %}
> <h1><a href="/">Buckets</a></h1>
> <div id="navi_categories">
> <ul>
> {% for catetory in categorylist %}
If this is a cut-and-paste of your template, here's your error. Learn to
spell "category". :-)
> <li><a href="{{ catetory.get_absolute_url }}">{% ifequal
> category.name active_category %}<b>{% endifequal %}{{ catetory.name
> }}{% ifequal category.name active_category %}</b>{% endifequal
> %}</a></li>
> <!-- <li>{{ active_category }} == {{ catetory.name }} ??</li> -->
> {% endfor %}
> </ul>
> </div>
> {% endif %}
> ------[snip]----------------------------------------------------------
Regards,
Malcolm
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---