AmiiboShop.shop_name in __unicode__
This commit is contained in:
parent
dfb6bb7de7
commit
5f3de30981
|
@ -318,7 +318,7 @@ class AmiiboShop(models.Model):
|
|||
return self.type == self.PACK
|
||||
|
||||
def __unicode__(self):
|
||||
return u'{} in {}'.format(self.amiibo.count(), self.shop.name)
|
||||
return u'{} in {}'.format(self.shop_name, self.shop.name)
|
||||
|
||||
|
||||
class AmiiboPrice(models.Model):
|
||||
|
|
Loading…
Reference in New Issue