<ul>'s are possible, it's in fact what I use on my (to-be) site:

<ul>
  {% for node in node_tree %}
      <li style="margin-left:{% widthratio node.stack 20 100 %}%">
        {{ node.body }}
      </li>
  {% endfor %}
</ul>

Screenshot of (a more styleshed) output here:

http://static.flickr.com/42/95381035_a51eb622dc_o.png

On 2/4/06, Max Battcher <[EMAIL PROTECTED]> wrote:
>
> akaihola wrote:
> > See these cookbook recipes for ideas:
> > http://code.djangoproject.com/wiki/CookBookCategoryDataModel
>
> I was using this already.
>
> > http://code.djangoproject.com/wiki/ModifiedPreorderTreeTraversal
>
> Thanks.  That's a start.  I was hoping for something a bit wiser and
> more generic, though...  something to produce nice semantic XHTML
> (<ul>s).  I'll ponder on this subject a bit more later.
>
> --
> --Max Battcher--
> http://www.worldmaker.net/
>


--
Julio Nobrega - http://www.inerciasensorial.com.br

Reply via email to