diff --git a/src/registrar/admin.py b/src/registrar/admin.py index 28f17186a..c9eea460d 100644 --- a/src/registrar/admin.py +++ b/src/registrar/admin.py @@ -1081,9 +1081,7 @@ class DomainRequestAdmin(ListHeaderAdmin): ) elif ( - obj - and obj.status == models.DomainRequest.DomainRequestStatus.REJECTED - and not obj.rejection_reason + obj and obj.status == models.DomainRequest.DomainRequestStatus.REJECTED and not obj.rejection_reason ): # This condition should never be triggered. # The opposite of this condition is acceptable (rejected -> other status and rejection_reason) diff --git a/src/registrar/config/urls.py b/src/registrar/config/urls.py index 216a54c6a..9049d718c 100644 --- a/src/registrar/config/urls.py +++ b/src/registrar/config/urls.py @@ -66,12 +66,12 @@ urlpatterns = [ ), path( "domain-request//withdraw", - views.domain-requestWithdrawConfirmation.as_view(), + views.DomainRequestWithdrawConfirmation.as_view(), name="domain-request-withdraw-confirmation", ), path( "domain-request//withdrawconfirmed", - views.domain-requestWithdrawn.as_view(), + views.DomainRequestWithdrawn.as_view(), name="domain-request-withdrawn", ), path("health", views.health, name="health"), diff --git a/src/registrar/views/domain_request.py b/src/registrar/views/domain_request.py index f7a784b51..aff723ac3 100644 --- a/src/registrar/views/domain_request.py +++ b/src/registrar/views/domain_request.py @@ -362,7 +362,8 @@ class DomainRequestWizard(DomainRequestWizardPermissionView, TemplateView): "purpose": self.domain_request.purpose is not None, "your_contact": self.domain_request.submitter is not None, "other_contacts": ( - self.domain_request.other_contacts.exists() or self.domain_request.no_other_contacts_rationale is not None + self.domain_request.other_contacts.exists() + or self.domain_request.no_other_contacts_rationale is not None ), "anything_else": ( self.domain_request.anything_else is not None or self.domain_request.is_policy_acknowledged is not None