Browse Source

Slowly adding "new reply" action

Ralfp 12 years ago
parent
commit
53ba8061d5
1 changed files with 5 additions and 0 deletions
  1. 5 0
      misago/apps/threads/posting.py

+ 5 - 0
misago/apps/threads/posting.py

@@ -43,6 +43,11 @@ class EditThreadView(EditThreadBaseView, TypeMixin):
 
 
 class NewReplyView(NewReplyBaseView, RedirectToPostMixin, TypeMixin):
+    action = 'new_reply'
+
+    def set_context(self):
+        pass
+        
     def response(self):
         if self.post.moderated:
             request.messages.set_flash(Message(_("Your reply has been posted. It will be hidden from other members until moderator reviews it.")), 'success', 'threads_%s' % self.post.pk)