From 66906fa23f4a0c3c9f23588ab76ee3b009dda14c 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