Hey,

>From Django Docs (
https://docs.djangoproject.com/en/1.4/ref/contrib/comments/#quickly-rendering-a-comment-list
)

The easiest way to display a list of comments for some object is by using
render_comment_list<https://docs.djangoproject.com/en/1.4/ref/contrib/comments/#std:templatetag-render_comment_list>
:

{% render_comment_list for [object] %}

For example:

{% render_comment_list for event %}

This will render comments using a template named comments/list.html, a
default version of which is included with Django.

Sincerely,
Pankaj Singh
http://about.me/psjinx


On Thu, Feb 21, 2013 at 3:22 PM, yakoub abaya <yakoub.ab...@gmail.com>wrote:

> can someone please explain where and how this template :
> django/contrib/comments/templates/comments/list.html
> gets rendered into the main page html template ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to