From 12baa6f5386c69d1b639dad8cf9dda37d52891e7 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Sat, 13 Jul 2024 15:27:36 +0200 Subject: [PATCH] upload form --- snapshot/forms.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 snapshot/forms.py diff --git a/snapshot/forms.py b/snapshot/forms.py new file mode 100644 index 0000000..063c115 --- /dev/null +++ b/snapshot/forms.py @@ -0,0 +1,8 @@ + + + +class UploadForm(forms.Form): + snapshot_file = forms.FileField(label=_("File")) + + def clean(self): + data = self.cleaned_data