diff --git a/seminar/models.py b/seminar/models.py index fefd72d3..7a16bc96 100644 --- a/seminar/models.py +++ b/seminar/models.py @@ -888,7 +888,7 @@ class Reseni(SeminarModelBase): # Konfera def __str__(self): - return "{}: {}".format(self.resitel.osoba.plne_jmeno(), self.problem.nazev) + return "{}({}): {}({})".format(self.resitele.first(),len(self.resitele.all()), self.problem.first() ,len(self.problem.all())) # NOTE: Potenciální DB HOG (bez select_related) ## Pravdepodobne uz nebude potreba: