From 7cb9ea40ac30e58411f4f36e4f64466a00ac094d Mon Sep 17 00:00:00 2001 From: klmp200 Date: Fri, 14 Apr 2017 15:38:54 +0200 Subject: [PATCH] Anonymous users can't edit weekmail --- com/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com/views.py b/com/views.py index b4b473d4..4597a71d 100644 --- a/com/views.py +++ b/com/views.py @@ -348,7 +348,7 @@ class WeekmailArticleEditView(ComTabsMixin, QuickNotifMixin, CanEditPropMixin, U quick_notif_url_arg = "qn_weekmail_article_edit" current_tab = "weekmail" -class WeekmailArticleCreateView(QuickNotifMixin, CreateView): #XXX need to protect this view +class WeekmailArticleCreateView(QuickNotifMixin, CanViewMixin, CreateView): #XXX need to protect this view """Post an article""" model = WeekmailArticle fields = ['title', 'club', 'content']