Change theme:   


This is a representation of single comment associated with article. Most usually, there is a array of comments with article.

Availability of comments

Comments can be accessed through article by using {{ article.comments }} variable. This accessor method returns only comments that are in public state (e.g. not spam). Here is an simple example:

{% for comment in article.comments %}
From: {{ }} at {{ comment.created_at | date:"%d.%m" }}
{{ comment.body }}
{% endfor %}

Available properties

These properties give access to extra features on this object.


Returns author name for comment.


Returns formatted body for comment.


Returns Time object representing comment create time.