From 8604ef7b4c04f982d8ea7e7f16d86ce6a6331c5c Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Tue, 11 Feb 2020 21:49:29 +0100 Subject: [PATCH] =?UTF-8?q?VlozReseniForm:=20nov=C4=9Bj=C5=A1=C3=AD=20supe?= =?UTF-8?q?r=20je=20super()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seminar/forms.py b/seminar/forms.py index 8c50c2c5..6a0e7911 100644 --- a/seminar/forms.py +++ b/seminar/forms.py @@ -249,7 +249,7 @@ class VlozReseniForm(forms.Form): #TODO prilohy def __init__(self, *args, **kwargs): - super(VlozReseniForm, self).__init__(*args, **kwargs) + super().__init__(*args, **kwargs) #self.fields['favorite_color'] = forms.ChoiceField(choices=[(color.id, color.name) for color in Resitel.objects.all()])