{% for comment in all_comment %} {% if comment.parent is None %}
{{ comment.author }}  commented  
{{ comment.created_date | timesince }} ago
{% if user.username == comment.author %} {% endif %}
{{ comment.text | safe }}
{% endif %}
{% empty %} {% endfor %}