mirror of
https://github.com/Nebucatnetzer/network_inventory.git
synced 2024-06-21 06:56:54 +02:00
show the first and last name for a user
This commit is contained in:
parent
b7a91c4935
commit
f778beca0a
|
@ -17,7 +17,7 @@ class User(models.Model):
|
|||
mail_groups = models.ManyToManyField(MailGroup, through='UserInMailGroup')
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
return self.name + " " + self.first_name
|
||||
|
||||
|
||||
class UserInAdGroup(models.Model):
|
||||
|
|
Loading…
Reference in New Issue
Block a user