Hi Bob,
Thanks for the reply. I am new to Django and Satchmo and I am not sure
how to test this in the shell. If I use this in my category.html
template
{% for cats in categories %}
{{ cats }}
I get
child1
grandchild1
greatgrandchild
garndchild2
child2
child3
When I am showing the page child1 I only want to provide links to
grandchild1 and grandchild2. When I am showing grandchild1 I only want
to show a link to greatgrandchild. I just do not understand how to
filter out the other levels.
As an alternative I could use
{% for cat in child_categories %}
but this is not suitable because it gives me relative links but they
are all <li> rather than nested <ul>.
Sorry for my lack of understanding.
Dagmar.