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

add multiple file upload #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thesousou
Copy link

@thesousou thesousou commented Sep 9, 2021

This commit fixes #8 , by adding multiple file upload to the form while keeping the capability to send a single file.

@thesousou thesousou force-pushed the 8-i-want-to-upload-multiple-files branch from 6cb0ec9 to 0d9f990 Compare September 9, 2021 23:22
Copy link

@dereckson dereckson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be cleaner to move upload code logic for one file into a specific function, and use your for loop to call that function:

for upfile in upfiles:
    // 403 check here or in the method
    upload_file(upfile)

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

Successfully merging this pull request may close these issues.

I want to upload multiple files
2 participants