show the first and last name for a user

This commit is contained in:
Andreas Zweili 2019-12-30 13:39:12 +01:00
parent b7a91c4935
commit f778beca0a

View File

@ -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):