Thursday, June 22, 2017

Legitimate way to allow uploading of folders

Hell there,

I am an intermediate user of Django and have been using this since last summer. Recently I encountered a situation in which I wanted to make an app which allows the user to upload a folder. I have already set up the views and template and it is working for a single file. I know there is documentation to make it work for multiple files, but by surfing the internet I wasn't able to find a good method to upload directories through a single field. 

I did find some solutions which asked to add some JavaScript code or something. I want to know is that, Is there some legitimate way to do this?

Thank you for your contributions.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/60f3b0a6-5b4e-49f1-a313-4755ebbfdb1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment