This document covers various components of pinax.apps.tribes.
Upon a GET request renter the tribes.html template with tribes and search_terms in context. Each tribe also get a member_count and a topic_count attribute assigned.
On GET requests render the create.html template with a tribe_form instance in context.
On POST requests process the form and create a new Tribe and add the request.user as a member of the Tribe.
On GET requests render the your_tribes.html template with a tribes queryset in context that contains all Tribes where request.user is a member.
On GET requests render the tribe.html template with tribe, tribe_form, group, and is_member variables in context.
On POST request process that form to update the Tribe, join the Tribe or leave the Tribe.
| keyword arguments: | |
|---|---|
| The slug with that identifies a a Topic. Must match: (?P<group_slug>[-\w]+). | |
Via a POST request, delete a Tribe that request.user created previously.
| keyword arguments: | |
|---|---|
| The slug with that identifies a a Topic. Must match: (?P<group_slug>[-\w]+). | |