Models: str pro reseni podle noveho modelu.
This commit is contained in:
parent
eb6a8a1f1d
commit
f1b8a9b5ad
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue