Correction propriété name du modèle Account

This commit is contained in:
Aurélien Delobelle 2016-08-04 05:57:47 +02:00
parent 2786f834a5
commit bc1c0110f1

View file

@ -78,7 +78,7 @@ class Account(models.Model):
if self.first_name and self.last_name:
return '%s %s' % (self.first_name, self.last_name)
elif self.first_name:
return '%s %s' % self.first_name
return self.first_name
else:
return self.last_name