devicehub-django/snapshot/forms.py

9 lines
141 B
Python
Raw Normal View History

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