AntonyM71 / AEMS

Athlete Event Management System
2 stars 0 forks source link

Upload CSV Script #21

Open AntonyM71 opened 2 months ago

AntonyM71 commented 2 months ago

As a competition organiser, I would like to be able to upload a CSV of paddler/competition info with some metadata, so that I don't have to type all the names in manually for a big event.

AntonyM71 commented 2 days ago

@tclare95 has made a script that uses the GB freeestyle template, and hammers the API, here. This will probably be a good start, and we can do it using SQLAlchemy commands within a transactional context.

It may be worth defining our own internal competition format, which we can then convert any external formats into.

I would recommend breaking this task into two things, an internal "Upload CSV Script" task (aimed at developers), and an"Upload CSV Page" task (aimed at general users, with sensible error messaging and validation.