{% extends "base.html" %} {% load i18n comments comments_xtd %} {% block title %}{{ block.super }}Blog - {% trans "Comment List" %}{% endblock %} {% block header %}{{ block.super }}{% trans "Blog Comment List" %}{% endblock %} {% block content %}
{% trans "List of comments for blog.story and blog.quote with pagination, produced by the following entry in the blog/urls.py file:" %}
url(r'^comments$',
ListView.as_view(
queryset=XtdComment.objects.for_app_models("blog.story",
"blog.quote"),
template_name="django_comments_xtd/blog/comment_list.html",
paginate_by=5),
name='blog-comments'),
{% for comment in object_list %}
{{ comment.submit_date|date:"DATETIME_FORMAT" }}
{{ comment.name }}
{{ comment.submit_date|date:"DATETIME_FORMAT" }}
{{ comment.name }}