This commit is contained in:
zandercymatics 2024-10-04 11:50:36 -06:00
parent 133155fb0b
commit 8f1ac68710
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 4 additions and 1 deletions

View file

@ -62,7 +62,7 @@ for step, view in [
(Step.REVIEW, views.Review), (Step.REVIEW, views.Review),
# Portfolio steps # Portfolio steps
(PortfolioDomainRequestStep.REQUESTING_ENTITY, views.RequestingEntity), (PortfolioDomainRequestStep.REQUESTING_ENTITY, views.RequestingEntity),
(PortfolioDomainRequestStep.ADDITIONAL_DETAILS, views.PortfolioAdditionalDetails) (PortfolioDomainRequestStep.ADDITIONAL_DETAILS, views.PortfolioAdditionalDetails),
]: ]:
domain_request_urls.append(path(f"{step}/", view.as_view(), name=step)) domain_request_urls.append(path(f"{step}/", view.as_view(), name=step))

View file

@ -3104,6 +3104,8 @@ class TestDomainRequestWizard(TestWithUser, WebTest):
status=DomainRequest.DomainRequestStatus.STARTED, status=DomainRequest.DomainRequestStatus.STARTED,
user=self.user, user=self.user,
) )
domain_request.anything_else = None
domain_request.save()
federal_agency = FederalAgency.objects.get(agency="Non-Federal Agency") federal_agency = FederalAgency.objects.get(agency="Non-Federal Agency")
# Add a portfolio # Add a portfolio

View file

@ -73,6 +73,7 @@ class PortfolioDomainRequestStep(StrEnum):
As with Django's own `TextChoices` class, steps will As with Django's own `TextChoices` class, steps will
appear in the order they are defined. (Order matters.) appear in the order they are defined. (Order matters.)
""" """
# NOTE: Append portfolio_ when customizing a view for portfolio. # NOTE: Append portfolio_ when customizing a view for portfolio.
# By default, these will redirect to the normal request flow views. # By default, these will redirect to the normal request flow views.
# After creating a new view, you will need to add this to urls.py. # After creating a new view, you will need to add this to urls.py.