Re: Possibility of recursive rendering

2010-01-10 Thread Ethan Jucovy
I think the easiest thing to do write two templates and use the {% include %} tag like so: # templates/number_of_comments.html There are {{paragraph.comment_set.all.count}} comments. # templates/display_all_paragraphs.html {% for paragraph in paragraph_set %} Paragraph: {{paragraph.name}} {% incl

Re: Possibility of recursive rendering

2010-01-10 Thread Andreas Pfrengle
On 10 Jan., 10:42, Amit Sethi wrote: > Hi I wish  to know if it is possible to use recursive rendering ? . What I > mean by that is that their is a template which renders no of comments on a > paragraph . SInce their are many paragraphs what i wish to send is  a list > of render_to_response calls

Possibility of recursive rendering

2010-01-10 Thread Amit Sethi
Hi I wish to know if it is possible to use recursive rendering ? . What I mean by that is that their is a template which renders no of comments on a paragraph . SInce their are many paragraphs what i wish to send is a list of render_to_response calls for each paragraph. i.e send response messages