0

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

1 Answers1

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