mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-31 01:33:56 +02:00
Merge remote-tracking branch 'origin/main' into rjm/472-email-domain-in-review
This commit is contained in:
commit
76b0a72ad4
41 changed files with 684 additions and 93 deletions
|
@ -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 ###
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue