Re: Recursion in templates

2005-12-19 Thread [EMAIL PROTECTED]
Help! I'm _completely_ snowed under- does anyone else feel like moving this code across from Melt? Cheers, Matt

Re: Recursion in templates

2005-12-13 Thread [EMAIL PROTECTED]
Thanks Jacob. Only been using python, let alone Django, for a couple of days, so suspected I'd probably made a couple of slip ups. * We're using Django 0.9 on Melt. I'll check out the latest release and integrate with that. Where do I submit the patch once I've done this? * I'll sort the push()

Re: Recursion in templates

2005-12-13 Thread Jacob Kaplan-Moss
On Dec 13, 2005, at 8:15 AM, [EMAIL PROTECTED] wrote: {% recurse through get_reply_list as post starting with forum_post.get_root_post %} Hey Matt -- This looks really good, and I'm personally +1 on adding this to Django's default tags. However, there are a few things that would need to

Recursion in templates

2005-12-13 Thread [EMAIL PROTECTED]
Hi folks, I was working for ThoughtWorks on the forum screen on Melt (http://weblog.greenpeace.org/melt/) and encountered some problems using existing template tags to represent a forum thread as a hierarchy of posts. I wrote a custom tag that works like this: {% recurse through get_reply_list