{% extends "index.html" %} {% load i18n %} {% load filters %} {% block application %}

{% trans "News" %}
{{ news.title }}

{{ news.text }}

{% if comment_count %}

Комментариев: {{ comment_count }}

{% for comment in comments %}
{% if perms.news.delete_comment %} [X] {% endif %} {{ comment.username }} пишет:
{{ comment.text }}
Дата {{ comment.pub_date|date:"d.m.Y" }}


{% endfor %} {% else %}

Комментариев нет

{% endif %} {% if user.is_authenticated %}

Оставить комментарий:

{{ form }}
{% endif %} {% endblock %}