rcpch / rcpch-audit-engine

Epilepsy12 Audit Platform
https://e12.rcpch.ac.uk/
GNU Affero General Public License v3.0
5 stars 5 forks source link

Import historical organisational audit submissions #1065

Closed mbarton closed 1 month ago

mbarton commented 1 month ago

Part of #1052

Adds a manage.py command to import answers from last years CSV export. Subsequent PRs will pre-fill questions with them.

docker compose exec django python manage.py import_org_audit_submissions --submission-period 1 --file Organisational20240209.csv

Various model fields have been renamed back to their old inconsistent names from the previous system. This simplifies the import process and will also simplify generating the CSV export back out (#1054)

mbarton commented 1 month ago

Seen on STAGING, LIVE (merged by @mbarton 29 minutes and 50 seconds ago) Please check your changes!