mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-06 09:45:23 +02:00
commented
This commit is contained in:
parent
bea53019a5
commit
334b6eac38
1 changed files with 1 additions and 0 deletions
|
@ -231,6 +231,7 @@ class User(AbstractUser):
|
|||
return bool(self.title or self.email or self.phone)
|
||||
|
||||
def clean(self):
|
||||
"""Extends clean method to perform additional validation, which can raise errors in django admin."""
|
||||
super().clean()
|
||||
|
||||
if self.portfolio is None and self._get_portfolio_permissions():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue