if self.node.node_type == "answer":\r
self.node.question.reset_answer_count_cache()\r
\r
if self.node.node_type == "answer":\r
self.node.question.reset_answer_count_cache()\r
\r
+ # We should notify the current user that the node has been successfully deleted\r
+ message = _("The <a href=\"%s\">%s</a> has been sucessfully deleted") % (self.node.get_absolute_url(), self.node.node_type)\r
+ self.user.message_set.create(message=message)\r
+\r
def cancel_action(self):\r
self.node.mark_deleted(None)\r
\r
def cancel_action(self):\r
self.node.mark_deleted(None)\r
\r