fix phone in federation membership
This commit is contained in:
parent
b5416990a6
commit
f922cf16d7
|
@ -225,7 +225,11 @@ class ImportForm(forms.Form):
|
|||
props = self.json_schema.get("properties", {})
|
||||
|
||||
# Forze than pandas read one column as string
|
||||
dtype_dict = {"phoneNumber": str, 'postCode': str}
|
||||
dtype_dict = {
|
||||
"phoneNumber": str,
|
||||
"phone": str,
|
||||
'postCode': str
|
||||
}
|
||||
df = pd.read_excel(data, dtype=dtype_dict)
|
||||
df.fillna('', inplace=True)
|
||||
|
||||
|
|
Loading…
Reference in a new issue