From 6bc3bf06c9531bd9b9375a519ef7615c2724bcbb Mon Sep 17 00:00:00 2001 From: koksnuss Date: Tue, 12 May 2020 20:50:00 +0200 Subject: [PATCH] adjust __str__ method of Coin --- coinmanager/coinc/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coinmanager/coinc/models.py b/coinmanager/coinc/models.py index 0c3276a..0fb7a6f 100644 --- a/coinmanager/coinc/models.py +++ b/coinmanager/coinc/models.py @@ -101,4 +101,4 @@ class Coin(Model): 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}"