diff --git a/wiki_groups/views.py b/wiki_groups/views.py index 2de792e..d7076f6 100644 --- a/wiki_groups/views.py +++ b/wiki_groups/views.py @@ -34,7 +34,10 @@ graph = TemplateView.as_view(template_name="wiki_groups/graph.html") 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