Commit 88d81df2 authored by Skia's avatar Skia
Browse files

Fix Trombi edit comment view


Signed-off-by: Skia's avatarSkia <skia@libskia.so>
parent b4be40a3
Pipeline #1053 passed with stage
in 5 minutes and 11 seconds
......@@ -277,4 +277,8 @@ class TrombiCommentCreateView(TrombiCommentFormView, CreateView):
class TrombiCommentEditView(TrombiCommentFormView, CanViewMixin, UpdateView):
pk_url_kwarg = "comment_id"
def form_valid(self, form):
form.instance.is_moderated = False
return super(TrombiCommentEditView, self).form_valid(form)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment