mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 18:25:58 +02:00
Add comment
This commit is contained in:
parent
5412933d4d
commit
166135a236
1 changed files with 3 additions and 1 deletions
|
@ -786,7 +786,9 @@ class DomainAddUserView(DomainFormBaseView):
|
|||
|
||||
return redirect(self.get_success_url())
|
||||
|
||||
|
||||
# The order of the superclasses matters here. BaseDeleteView has a bug where the
|
||||
# "form_valid" function does not call super, so it cannot use SuccessMessageMixin.
|
||||
# The workaround is to use SuccessMessageMixin first.
|
||||
class DomainInvitationDeleteView(SuccessMessageMixin, DomainInvitationPermissionDeleteView):
|
||||
object: DomainInvitation # workaround for type mismatch in DeleteView
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue