additional comments, move log statements after the actions they're logging.

This commit is contained in:
rachidatecs 2023-06-13 17:44:19 -04:00
parent 9c43fb65a9
commit 1ac56afe20
No known key found for this signature in database
GPG key ID: 3CEBBFA7325E5525
2 changed files with 13 additions and 6 deletions

View file

@ -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)