adjust __str__ method of Coin

This commit is contained in:
koksnuss 2020-05-12 20:50:00 +02:00
parent 041af66c8b
commit 6bc3bf06c9

View File

@ -101,4 +101,4 @@ class Coin(Model):
def __str__(self): def __str__(self):
return f"{self.value} {self.name} aus {self.country} {self.year} {self.stamp}" return f"{self.value} {self.stamp} aus {self.country.name} {self.year} {self.name}"