From 378401f8a94bc6cc40256377a53b38acea003d1c Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 28 Feb 2024 09:23:03 +0100 Subject: [PATCH] file to import and add format in pip --- idhub/admin/forms.py | 2 +- requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/idhub/admin/forms.py b/idhub/admin/forms.py index 85d57d5..35ba89c 100644 --- a/idhub/admin/forms.py +++ b/idhub/admin/forms.py @@ -150,7 +150,7 @@ class ImportForm(forms.Form): required=False ) schema = forms.ChoiceField(label=_("Schema"), choices=[]) - file_import = forms.FileField(label=_("File import")) + file_import = forms.FileField(label=_("File to import")) def __init__(self, *args, **kwargs): self._schema = None diff --git a/requirements.txt b/requirements.txt index 6032a87..f71dfd2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ django-extensions==3.2.3 django-tables2==2.6.0 black==23.9.1 python-decouple==3.8 -jsonschema==4.19.1 +jsonschema[format]==4.19.1 pandas==2.1.1 xlrd==2.0.1 odfpy==1.4.1 @@ -30,4 +30,4 @@ ujson==5.9.0 openpyxl==3.1.2 jsonpath_ng==1.6.1 ./didkit-0.3.2-cp311-cp311-manylinux_2_34_x86_64.whl -pyroaring==0.4.5 \ No newline at end of file +pyroaring==0.4.5