Commit a37614e8 by Oláh István Gergely

dashboard: fix group member remove in views

parent 32f4e1c2
......@@ -1006,7 +1006,7 @@ class GroupMemberRemoveView(LoginRequiredMixin, DeleteView):
def remove_user(self, userpk):
container = self.get_object()
container.set_level(User.objects.get(pk=userpk), None)
def get_success_message(self):
return _("Member successfully removed from group!")
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 sign in to comment