input = forms.CharField(label=u"Standardowe wejście", max_length=500, required=False)
stage_in = forms.MultipleChoiceField(label=u"Stage in", required=False)
- # TODO stage_out (?)
- # stage_out = forms.MultipleChoiceField(label=u"Stage out", required=False)
monitoring = forms.BooleanField(label=u"Portal QCG-Monitoring", required=False)
notify_type = forms.ChoiceField(label=u"Monitorowanie stanu", choices=PROTOCOL_CHOICES, required=False, initial='',
self.fields['arguments'].choices += ((v, v) for v in data.getlist('arguments'))
self.fields['native'].choices += ((v, v) for v in data.getlist('native'))
self.fields['stage_in'].choices += ((v, v) for v in data.getlist('stage_in'))
- # self.fields['stage_out'].choices += ((v, v) for v in data.getlist('stage_out'))
def clean(self):
data = super(JobDescriptionForm, self).clean()