Update src/registrar/forms/portfolio.py

This commit is contained in:
zandercymatics 2025-03-06 10:16:25 -07:00 committed by GitHub
parent 4d77e29a72
commit 9ded05f37f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -467,5 +467,6 @@ class PortfolioNewMemberForm(BasePortfolioMemberForm):
)
override_error = True
# Errors denoted as "__all__" are special error types reserved for the model level clean function
if override_error and "__all__" in self._errors:
del self._errors["__all__"]