mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 17:17:02 +02:00
additional comments, move log statements after the actions they're logging.
This commit is contained in:
parent
9c43fb65a9
commit
1ac56afe20
2 changed files with 13 additions and 6 deletions
|
@ -68,7 +68,7 @@ class DomainApplicationAdmin(AuditedAdmin):
|
|||
):
|
||||
# This is a transition annotated method in model which will throw an
|
||||
# error if the condition is violated. To make this work, we need to
|
||||
# call it on the original object which has the right status value,
|
||||
# call it on the original object which has the right status value,
|
||||
# but pass the current object which contains the up-to-date data
|
||||
# for the email.
|
||||
original_obj.in_review(obj)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue