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
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
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
3 matches
Mail list logo