This commit is contained in:
rachidatecs 2023-06-13 17:54:33 -04:00
parent 1ac56afe20
commit c2a2755060
No known key found for this signature in database
GPG key ID: 3CEBBFA7325E5525

View file

@ -516,9 +516,7 @@ class DomainApplication(TimeStampedModel):
self.submitter.email, self.submitter.email,
context={"application": self}, context={"application": self},
) )
logging.info( logging.info(f"In review email sent to: {self.submitter.email}")
f"In review email sent to: {self.submitter.email}"
)
except EmailSendingError: except EmailSendingError:
logger.warning( logger.warning(
"Failed to send status change (in review) email", exc_info=True "Failed to send status change (in review) email", exc_info=True
@ -575,7 +573,7 @@ class DomainApplication(TimeStampedModel):
@transition(field="status", source=SUBMITTED, target=INVESTIGATING) @transition(field="status", source=SUBMITTED, target=INVESTIGATING)
def in_review(self, updated_domain_application): def in_review(self, updated_domain_application):
"""Investigate an application that has been submitted. """Investigate an application that has been submitted.
This method is called in admin.py on the original application This method is called in admin.py on the original application
which has the correct status value, but is passed the changed which has the correct status value, but is passed the changed
application which has the up-to-date data that we'll use application which has the up-to-date data that we'll use