Malcolm Tredinnick a écrit : > You don't mention which of the "ul" elements is coming out empty, but I > guess this happens in the case where user_skill is empty. So wrap that > section in an {% if user_skill %} template tag (wrap it around the <ul> > and close it after the closing </ul>).
Oups I was not clear enough : My code generates so far (a little bit simplified) : <ul> <li>Framework <ul> <li>Django</li> </ul> <ul> <li>Symfony</li> </ul> </li> <li>Language <ul> <li>Python</li> </ul> <ul> <li>PHP</li> </ul> </li> </ul> Where as I would like to have : <ul> <li>Framework <ul> <li>Django</li> <li>Symfony</li> </ul> </li> <li>Language <ul> <li>Python</li> <li>PHP</li> </ul> </li> </ul> I admit that with "ifchanged" and my initial query, I may be wrong for what I want to do. That's why I query some help :)) Nicolas --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---