VlozReseniForm: novější super je super()
This commit is contained in:
parent
96b00025db
commit
8604ef7b4c
1 changed files with 1 additions and 1 deletions
|
@ -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()])
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue