Hello, I have a menu in a database, and I want to display it in an
unordered list, but I have to apply a class for every element like
<li class="theclass">Entry 1 </li>
I think that this can't be done with the filter unordered_list.

Is there any way to use a kind of recursion to generate a menu like
this:
- Entry 0
- Entry 1
    -Entry 1_0
        -Entry 1_0_0
    -Entry 1_1
Entry 2

formatted using <ul> and <li>.

Thank you.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to