{% for category in forum.category_set.all %}

{{category}}

{{ category.description }} (Moderated by {% for moderator in category.moderated_by.all %} {{moderator}}{% if not forloop.last %}, {% endif %} {% endfor %} )

  • {{ category.ftopics_set.all.count }} topics
  • {{ category.noofPosts }} posts
  • Last post: {{ category.lastPostDatetime|date:"jS F Y H:i A" }} by {{ category.lastPostedUser }}
{% endfor %}