mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-01 10:13:55 +02:00
linting
This commit is contained in:
parent
1ac56afe20
commit
c2a2755060
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue