No, itβs best to delegate them to a static media server. Usually you just generate an empty response with some headers ("X-Accel-Redirect" on nginx, "XSendFile" on most others) that indicate the file path. This allows Django to be used for logic, but the web server for the service itself.
source share