Doplneno self k __str__

This commit is contained in:
Martin Z. (Zimamazim) 2019-06-20 22:39:33 +02:00
parent cb24a87baf
commit 31f7edc39f

View file

@ -301,7 +301,7 @@ class Resitel(SeminarModelBase):
return 'Prof.' return 'Prof.'
else: else:
return 'Akad.' return 'Akad.'
def __str__(): def __str__(self):
return self.osoba.plne_jmeno() return self.osoba.plne_jmeno()