rcpch / national-paediatric-diabetes-audit

A django application to audit the care of children and young people with diabetes in England and Wales.
0 stars 1 forks source link

Fix crash parsing CSV field value #362

Closed mbarton closed 2 weeks ago

mbarton commented 2 weeks ago

Fixes #361

Don't crash on ValidationError that occurs converting the CSV value into the model field value. Report back such errors with the field name and row number to the user so they can correct them.

Screenshot from 2024-11-08 17-29-25

mbarton commented 2 weeks ago

Seen on STAGING (created by @mbarton and merged by @eatyourpeas 6 minutes and 37 seconds ago) Please check your changes!