From 1cb380c03063b9f4db27036366a8c2399dc5590f Mon Sep 17 00:00:00 2001 From: rachidatecs Date: Fri, 23 Jun 2023 15:37:03 -0400 Subject: [PATCH] cleanup --- src/registrar/admin.py | 2 +- src/registrar/models/domain_application.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/registrar/admin.py b/src/registrar/admin.py index 93dc8ac38..fee5033af 100644 --- a/src/registrar/admin.py +++ b/src/registrar/admin.py @@ -99,7 +99,7 @@ class DomainApplicationAdmin(AuditedAdmin): # transition condition is violated, so we call it on the # original object which has the right status value, and pass # the updated object which contains the up-to-date data - # for the side effects (like an email send). Same + # for the side effects (like an email send). Same # comment applies to original_obj method calls below. original_obj.submit(updated_domain_application=obj) elif obj.status == models.DomainApplication.INVESTIGATING: diff --git a/src/registrar/models/domain_application.py b/src/registrar/models/domain_application.py index 71745b17c..10c9c7d67 100644 --- a/src/registrar/models/domain_application.py +++ b/src/registrar/models/domain_application.py @@ -500,9 +500,9 @@ class DomainApplication(TimeStampedModel): @transition(field="status", source=[STARTED, WITHDRAWN], target=SUBMITTED) def submit(self, updated_domain_application=None): """Submit an application that is started. - + As a side effect, an email notification is sent. - + This method is called in admin.py on the original application which has the correct status value, but is passed the changed application which has the up-to-date data that we'll use @@ -543,7 +543,7 @@ class DomainApplication(TimeStampedModel): """Investigate an application that has been submitted. As a side effect, an email notification is sent. - + This method is called in admin.py on the original application which has the correct status value, but is passed the changed application which has the up-to-date data that we'll use @@ -563,7 +563,7 @@ class DomainApplication(TimeStampedModel): object for the approved Domain and makes the user who created the application into an admin on that domain. It also triggers an email notification. - + This method is called in admin.py on the original application which has the correct status value, but is passed the changed application which has the up-to-date data that we'll use