|
@ -249,7 +249,7 @@ class VlozReseniForm(forms.Form): |
|
|
#TODO prilohy |
|
|
#TODO prilohy |
|
|
|
|
|
|
|
|
def __init__(self, *args, **kwargs): |
|
|
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()]) |
|
|
#self.fields['favorite_color'] = forms.ChoiceField(choices=[(color.id, color.name) for color in Resitel.objects.all()]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|