Commit 932297bf by Őry Máté

dashboard: add SuccessMessageMixin to GroupProfileUpdate

parent 5f741f60
......@@ -1620,10 +1620,12 @@ class GroupCreate(GroupCodeMixin, LoginRequiredMixin, TemplateView):
return redirect(savedform.profile.get_absolute_url())
class GroupProfileUpdate(GroupCodeMixin, LoginRequiredMixin, UpdateView):
class GroupProfileUpdate(SuccessMessageMixin, GroupCodeMixin,
LoginRequiredMixin, UpdateView):
form_class = GroupProfileUpdateForm
model = Group
success_message = _('Group is successfully updated.')
def get_available_group_codes(cls, request, extra=None):
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