Jeremy Dunck schrieb: >> I found this: >> https://svn.greenpeace.org/projects/custard/browser/production/trunk/melt/apps/custard/templatetags/customtags.py >> >> But i don't know how i can use this. > > Yeah, I'd be careful about the license. I don't see one. > You might contact one of these folks: > https://svn.greenpeace.org/projects/custard/browser/doc/copyright.html
No problem, the source is under the GPL and PyLucid is under GPL, too ;) > But it looks like something like this would do: > > x = { 'value':1, 'children': [ > { 'value': 2, 'children': []}, > {'value' : 3, 'children': [ > { 'value':4, 'children':[] } > ]} > ]} > ---- > {% recurse through children as node starting with x %} > ...do something with node. > {% endrecurse %} Thank you for your help! Now, i try it to use it ;) -- Mfg. Jens Diemer ---- CMS in pure Python CGI: http://www.pylucid.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---