{% ifnotequal CurrentComponent None %} {% for key in ComponentDict %} {{ComponentDict.CurrentComponent}} // CurrentComponent = 'project' {% endfor %} {% endifnotequal %}
I write this code to the template code, but this does not work. Wenn I write this: {% ifnotequal CurrentComponent None %} {% for key in ComponentDict %} {{ComponentDict.project}} // without variable CurrentComponent {% endfor %} {% endifnotequal %} This code works, but I can have a lot of CurrentComponent value, and this is not acceptable for me . Have an Idee? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---