mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-10 19:49:40 +02:00
Merge branch 'ms/3212-FEB-review' into ms/3495-FEB-viewonly
This commit is contained in:
commit
f3a1b08a84
42 changed files with 2179 additions and 541 deletions
|
@ -227,7 +227,6 @@ class DomainRequestWizard(TemplateView):
|
|||
creator=self.request.user,
|
||||
portfolio=portfolio,
|
||||
)
|
||||
|
||||
# Question for reviewers: we should probably be doing this right?
|
||||
if portfolio and not self._domain_request.generic_org_type:
|
||||
self._domain_request.generic_org_type = portfolio.organization_type
|
||||
|
@ -598,7 +597,6 @@ class RequestingEntity(DomainRequestWizard):
|
|||
"suborganization_state_territory": None,
|
||||
}
|
||||
)
|
||||
|
||||
super().save(forms)
|
||||
|
||||
|
||||
|
@ -997,11 +995,9 @@ class Finished(DomainRequestWizard):
|
|||
forms = [] # type: ignore
|
||||
|
||||
def get(self, request, *args, **kwargs):
|
||||
context = self.get_context_data()
|
||||
context["domain_request_id"] = self.domain_request.id
|
||||
# clean up this wizard session, because we are done with it
|
||||
del self.storage
|
||||
return render(self.request, self.template_name, context)
|
||||
return render(self.request, self.template_name)
|
||||
|
||||
|
||||
@grant_access(IS_DOMAIN_REQUEST_CREATOR, HAS_PORTFOLIO_DOMAIN_REQUESTS_EDIT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue