Implement sendfile function that mimics django-sendfile's signature.
Use a StorageDownloadView with FileSystemStorage and settings.SENDFILE_ROOT.
Write a "migration guide" in documentation
Optionally, add some middleware which reads settings.SENDFILE_BACKEND, settings.SENDFILE_ROOT and settings.SENDFILE_URL and behave like the corresponding django-downloadview's middleware. Should also raise some "DeprecationWarning".
Implement
sendfile
function that mimics django-sendfile's signature. Use aStorageDownloadView
withFileSystemStorage
andsettings.SENDFILE_ROOT
. Write a "migration guide" in documentationOptionally, add some middleware which reads
settings.SENDFILE_BACKEND
,settings.SENDFILE_ROOT
andsettings.SENDFILE_URL
and behave like the corresponding django-downloadview's middleware. Should also raise some "DeprecationWarning".