Overview

= Views =

forum_index:

A list of Categories.

Template: forum/index.html Context:

category_list: QuerySet of all Categories
forum_detail:

A list of Threads in a given Forum

[Uses django.views.generic.list_detail.object_list]

Queryset of Threads, annotated with:
most_recent_post=Max('post__created') post_count=Count('post')

Template: forum/forum_detail.html Context:

forum: The selected Forum
thread_detail:

A list of Posts within a Thread. [Uses django.views.generic.list_detail.object_list]

Template: forum/thread_detail.html Context:

thread: The selecetd Thread