mirror of
https://github.com/jazzband/django-downloadview.git
synced 2026-03-16 22:40:25 +00:00
22 lines
552 B
Text
22 lines
552 B
Text
###########
|
|
Setup views
|
|
###########
|
|
|
|
Setup views depending on your needs:
|
|
|
|
* :doc:`/views/object` when you have a model with a file field;
|
|
* :doc:`/views/storage` when you manage files in a storage;
|
|
* :doc:`/views/path` when you have an absolute filename on local filesystem;
|
|
* :doc:`/views/http` when you have an URL (the resource is proxied);
|
|
* :doc:`/views/virtual` when you generate a file dynamically;
|
|
* :doc:`bases and mixins </views/custom>` to make your own.
|
|
|
|
.. toctree::
|
|
:hidden:
|
|
|
|
object
|
|
storage
|
|
path
|
|
http
|
|
virtual
|
|
custom
|