{% if is_paginated %} {% include 'partial/pagination.html' %} {% endif %} {% for article in articles %}

{{ article.title }}

Статус: ({{ article.status }} | {{ article.get_status_display }})

{{ article.author }} | {{ article.created_at|date:"d.m.Y H:i:s" }}

Published at: {{ article.publish_at|date:"d.m.Y H:i:s" }}

{% if perms.articles.change_article or article.author == request.user %}

Update

{% endif %} {% if perms.articles.delete_article or article.author == request.user %}

Delete

{% endif %}
{% empty %}

Нет статей

{% endfor %} {% if is_paginated %} {% include 'partial/pagination.html' %} {% endif %}