{% extends "master.html" %} {% load static %} {% block title %} Post {% endblock%} {% block content %}
created at: {{post.created_at}}
{{ post.title }}

{{ post.body|safe }}

count of comments (active and deactive): {{ post.comment_set.count }}
{% csrf_token %}
Author
{% for comment in comments %}

{{comment.body}}

avatar

{{comment.author}}

date: {{comment.created_at}}

{% endfor %}
{% endblock %}