devicehub-django/evidence/forms.py

9 lines
141 B
Python
Raw Normal View History

2024-07-13 13:27:36 +00:00
class UploadForm(forms.Form):
2024-07-26 15:59:34 +00:00
evidence_file = forms.FileField(label=_("File"))
2024-07-13 13:27:36 +00:00
def clean(self):
data = self.cleaned_data