Merge remote-tracking branch 'origin/main' into rjm/472-email-domain-in-review

This commit is contained in:
rachidatecs 2023-06-12 17:31:28 -04:00
commit 76b0a72ad4
No known key found for this signature in database
GPG key ID: 3CEBBFA7325E5525
41 changed files with 684 additions and 93 deletions

View file

@ -577,6 +577,10 @@ class DomainApplication(TimeStampedModel):
# When an application is moved to in review, we need to send a
# confirmation email. This is a side-effect of the state transition
updated_domain_application._send_in_review_email()
@transition(field="status", source=[SUBMITTED, INVESTIGATING], target=WITHDRAWN)
def withdraw(self):
"""Withdraw an application that has been submitted."""
# ## Form policies ###
#