mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-02 16:02:15 +02:00
Update domain.py
This commit is contained in:
parent
ba72f8df82
commit
6fea4caa9a
1 changed files with 1 additions and 0 deletions
|
@ -315,6 +315,7 @@ class DomainAddUserView(DomainPermissionView, FormMixin):
|
|||
|
||||
def get_success_url(self):
|
||||
return reverse("domain-users", kwargs={"pk": self.object.pk})
|
||||
|
||||
def post(self, request, *args, **kwargs):
|
||||
self.object = self.get_object()
|
||||
form = self.get_form()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue