I want to save the text file or zip file in folder which can be uploaded in mobile devices(Android,IOS) using django framework.How to get the file in request ? Thanks in advance
Asked
Active
Viewed 23 times
1 Answers
0
If i got your question, this should be the answer. In your models.py file add a column for storing this upload:
yourfield = models.FileField(upload_to=path_of_the_folder_where_you_want_to_save)
And make the form on this model.

Irfan wani
- 4,084
- 2
- 19
- 34