Better docstring
This commit is contained in:
parent
9c02e1e902
commit
3da477729a
1 changed files with 4 additions and 1 deletions
|
@ -34,7 +34,10 @@ graph = TemplateView.as_view(template_name="wiki_groups/graph.html")
|
||||||
|
|
||||||
|
|
||||||
class WikiGroupMixin(SingleObjectMixin, UserPassesTestMixin):
|
class WikiGroupMixin(SingleObjectMixin, UserPassesTestMixin):
|
||||||
"""Restricts the view to a manager of the wikigroup"""
|
"""
|
||||||
|
Restricts the view to a manager of the wikigroup, and selects automatically
|
||||||
|
the required WikiGroup with its Django group
|
||||||
|
"""
|
||||||
|
|
||||||
model = WikiGroup
|
model = WikiGroup
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue