Add DraftDomain to superusers and staff, Add filter to domains (state), Update user table definition to show first, last AND email by default, Use inline editors to expose DomainInformation, Make Domain Information fields available to CISA Analyst

This commit is contained in:
Rachid Mrad 2023-09-13 16:20:14 -04:00
parent 4daec217d7
commit 3310689519
No known key found for this signature in database
GPG key ID: EF38E4CEC4A8F3CF
3 changed files with 204 additions and 101 deletions

View file

@ -45,7 +45,7 @@ class User(AbstractUser):
def __str__(self):
# this info is pulled from Login.gov
if self.first_name or self.last_name:
return f"{self.first_name or ''} {self.last_name or ''}"
return f"{self.first_name or ''} {self.last_name or ''} {self.email or ''}"
elif self.email:
return self.email
else: