django-sendfile
django-sendfile copied to clipboard
Serve a folder with sendfile
I have a usecase where I need to serve an entire folder on disk, only if the user has access to it. I can make the checks using a decorator or in the view. But can I configure this plugin to serve entire folders using X-Accel-Redirect, if the user is authenticated?