From 31f7edc39fd3f9424fea4a2d2421f4827a5765db Mon Sep 17 00:00:00 2001 From: "Martin Z. (Zimamazim)" Date: Thu, 20 Jun 2019 22:39:33 +0200 Subject: [PATCH] Doplneno self k __str__ --- seminar/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seminar/models.py b/seminar/models.py index da1207c9..f3d3da51 100644 --- a/seminar/models.py +++ b/seminar/models.py @@ -301,7 +301,7 @@ class Resitel(SeminarModelBase): return 'Prof.' else: return 'Akad.' - def __str__(): + def __str__(self): return self.osoba.plne_jmeno()