devicehub-django/evidence/forms.py

9 lines
141 B
Python

class UploadForm(forms.Form):
evidence_file = forms.FileField(label=_("File"))
def clean(self):
data = self.cleaned_data