Skip to content
Yunbo Shi edited this page Oct 21, 2018 · 5 revisions

Welcome to the django-file-upload-download wiki! This project provides demo codes for uploading files and downloading large files using Django.

Uploading Files

We provided demo codes for 3 methods of uploading files using Django. They can be found in file_upload folder.

  • Using regular form
  • Using ModelForm
  • Using Ajax

Uploading Multiple Files

We will provide codes later.

Downloading and Outputting Large Files

We provided sample codes for downloading and outputting files using:

  • Using HttpResponse
  • Using StreamingHttpResponse
  • Using FileResponse

The codes can be found in file_download/views.py

Clone this wiki locally