Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User can upload CSVs #32

Closed
jonodrew opened this issue Jan 24, 2022 · 4 comments
Closed

User can upload CSVs #32

jonodrew opened this issue Jan 24, 2022 · 4 comments
Assignees

Comments

@jonodrew
Copy link
Owner

Users have to be able to upload their data

@jonodrew
Copy link
Owner Author

jonodrew commented Jan 24, 2022

The route at the moment is at this line:

@main_bp.route("/upload", methods=["GET", "POST"])

  • The page itself needs a big 'upload' button
  • The form needs to accept 2 files, no more, no less
  • the form should only accept .csv files
  • the form should only accept files called mentors.csv and mentees.csv
  • On POST, the route should save the files in a randomly-generated folder
  • A cookie should be set with the name of the folder
  • The user should be redirected to a page with a Process button

@jonodrew
Copy link
Owner Author

jonodrew commented Feb 4, 2022

I've ticked three boxes with #37

@jonodrew
Copy link
Owner Author

jonodrew commented Feb 7, 2022

Two more boxes closed off by #44

@jonodrew
Copy link
Owner Author

Big upload button: #56 (well, big-ish)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants