Change the __unicode__ definition of Card items

This commit is contained in:
Fred Pauchet 2012-09-03 20:44:20 +02:00
parent c22af6d87b
commit 5faab55ba9
1 changed files with 1 additions and 1 deletions

View File

@ -77,6 +77,6 @@ class Card(models.Model):
verbose_name = 'Carte de téléphone'
def __unicode__(self):
return '%s %s %s %s' % (self.country.label, self.subcategory.category.label, self.subcategory.label, self.label)
return '%s %s' % (self.country.label, self.label)