Minor display improvements

This commit is contained in:
alazo 2017-11-21 17:34:15 +01:00 committed by Claude Paroz
parent a08c25b893
commit ba0b693187
5 changed files with 6 additions and 5 deletions

View file

@ -283,7 +283,7 @@ class CorpContact(models.Model):
verbose_name = "Contact"
def __str__(self):
return '%s %s' % (self.last_name, self.first_name)
return '{0} {1}, {2}'.format(self.last_name, self.first_name, self.corporation)
class Domain(models.Model):