This commit is contained in:
zandercymatics 2024-02-23 14:51:29 -07:00
parent afeb0f55b1
commit 4eae72d983
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -816,6 +816,7 @@ class DomainApplicationAdminForm(forms.ModelForm):
status = cleaned_data.get("status")
investigator = cleaned_data.get("investigator")
# TODO - need some way of determining if a change has actually occurred and to enforce this only then
if status == DomainApplication.ApplicationStatus.APPROVED:
# Checks the "investigators" field for validity.
# That field must obey certain conditions when an application is approved.