From 96481d7baf6c06cef170146eae5cff79e453101b Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 18 Mar 2024 12:57:11 +0100 Subject: [PATCH] fix --- idhub/admin/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idhub/admin/forms.py b/idhub/admin/forms.py index a8ac0fa..01f39f8 100644 --- a/idhub/admin/forms.py +++ b/idhub/admin/forms.py @@ -225,7 +225,7 @@ class ImportForm(forms.Form): props = self.json_schema.get("properties", {}) # Forze than pandas read one column as string - dtype_dict = {"phoneNumber": str} + dtype_dict = {"phoneNumber": str, 'postCode': str} df = pd.read_excel(data, dtype=dtype_dict) df.fillna('', inplace=True)