Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Alternative Django-DownloadView Views #1

Open
ryneeverett opened this issue May 10, 2016 · 0 comments
Open

Support Alternative Django-DownloadView Views #1

ryneeverett opened this issue May 10, 2016 · 0 comments

Comments

@ryneeverett
Copy link
Owner

ryneeverett commented May 10, 2016

Part of my motivation for choosing django-downloadview over django-sendfile was the multiple options for file storage. (I now believe django-downloadview is better documented and maintained.)

However, by the time I finished the initial alpha release, I realized I'd completely coupled everything to the Download model's file field, so it wont be as simple as swapping out the view class. However, I think it can still be done by making Download an abstract base class, making a subclass for each downloadview view, and choosing them via a config option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant