{% extends "master.html" %} {% load static %} {% block title %} Posts {% endblock%} {% block content %}

List of Articles:

{% for post in posts %}
{{ post.title }}
created at: {{post.created_at}}

{{ post.body|safe }}

last update: {{post.updated_at}} count of comments (active and deactive): {{ post.comment_set.count }}
{% endfor %}
{% endblock %}