From 3da477729af2de93e819226b9674a740ede2e2f9 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Tue, 26 Oct 2021 18:57:38 +0200 Subject: [PATCH] Better docstring --- wiki_groups/views.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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