This document covers various components of pinax.apps.topics.
The named URLs in this app should enable the use of of the {% url %} template tag as well as reverse lookups in your project code without having to know the implementation details of this app.
On GET requests, render the topics.html template with a list of topics as well as a pinax.apps.topics.forms.TopicForm instance.
On POST requests, process the form data to create a new Topic
On POST requests, update the Topic.body data and redirect to topic_detail.
| keyword arguments: | |
|---|---|
| The of the Topic to edit. Must match (?P<topic_id>\d+). | |
On POST requests, delete the Topic and ThreadedComments associated with it and redirect to the next context variable..
| keyword arguments: | |
|---|---|
| The of the Topic to delete. Must match (?P<topic_id>\d+). | |
On GET requests, fetch the Topic as render the topic.html template with the Topic object in context.
| keyword arguments: | |
|---|---|
| The of the Topic to display. Must match (?P<topic_id>\d+). | |