Skip to content

Commit 56d302a

Browse files
authored
Updated the Users model
1 parent e326331 commit 56d302a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

users/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class User(AbstractBaseUser, PermissionsMixin):
5353
REQUIRED_FIELDS = ['first_name', 'last_name']
5454

5555
def __str__(self):
56-
return self.email or f"{self.first_name} {self.last_name}"
56+
return f"{self.first_name} {self.last_name}"
5757

5858

5959
class LawyerProfile(models.Model):

0 commit comments

Comments
 (0)