{% comment %} List all news in a table {% endcomment %} {% load threadedcommentstags %} {% load custom_date %} {% load pagination_tags %}
{% autopaginate object_list 20 %} {% paginate using "pagination/pagination_mod.html" %}
{% for object in object_list %} {% get_comment_count for object as ccount %} {% endfor %}
Title Published Comments Category
{{ object.title }} {{ object.publish|custom_date:user }} {{ ccount }} {{ object.get_category_slug|title }}
{% if page_obj.has_other_pages %}
{% paginate %}
{% endif %}