Validation logic for /admin

This commit is contained in:
zandercymatics 2024-12-19 15:23:49 -07:00
parent de8d252136
commit e1ad261e9c
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 41 additions and 2 deletions

View file

@ -90,7 +90,7 @@ class RequestingEntityForm(RegistrarForm):
raise ValidationError(
"This suborganization already exists. "
"Choose a new name, or select it directly if you would like to use it."
)
)
return name
def full_clean(self):