Benoit Bryon
|
450d2f42bb
|
Minor precision about deserialization in views.
|
2012-11-28 16:53:56 +01:00 |
|
Benoit Bryon
|
5a031a2011
|
Use **kwargs in DownloadMixin.render_to_response()
|
2012-11-28 16:53:56 +01:00 |
|
Benoit Bryon
|
41e00d312d
|
Refs #1 - Introduced experimental support for Nginx X-Accel. WORK IN PROGRESS.
|
2012-11-19 14:43:42 +01:00 |
|
Benoit Bryon
|
46542cdc3c
|
Refs #3 - Introduced base decorators and middlewares.
|
2012-11-19 14:41:52 +01:00 |
|
Benoit Bryon
|
5a432dc700
|
Refs #3 - Introduced DownloadResponse.
|
2012-11-19 14:41:52 +01:00 |
|
Benoit Bryon
|
0ae3653d1e
|
Clarified charset and encoding.
|
2012-11-19 14:41:52 +01:00 |
|
Benoit Bryon
|
faaa12fcb8
|
PEP8 on views.py
|
2012-11-19 14:41:52 +01:00 |
|
Benoit Bryon
|
434db01168
|
Fixed ObjectDownloadView.object access with a cache. Using client-side basename instead of server-side filename to guess the mimetype.
|
2012-08-30 23:12:27 +02:00 |
|
Benoit Bryon
|
9e4e7bfc0a
|
Added attributes to ObjectDownloadView, so that it is possible to use a model as a cache for file metadata (size, mime-type, basename...). Added docstrings.
|
2012-08-29 18:06:29 +02:00 |
|
Benoit Bryon
|
33ad5d492e
|
Refactored generic download views. Added storage argument to DownloadView. Renamed DownloadView's 'file' argument to 'filename'.
|
2012-08-28 15:47:26 +02:00 |
|
Benoit Bryon
|
5a2a174b3e
|
Reduced memory usage when serving files: return an iterator of chunks, don't load the whole file into memory.
|
2012-08-28 10:46:02 +02:00 |
|
Benoit Bryon
|
ab75aa6e08
|
Fixed tests: tests use a temporary settings.MEDIA_ROOT, so files are isolated for tests.
|
2012-08-28 10:13:41 +02:00 |
|
Benoit Bryon
|
7f1801c684
|
Fixed example in README. ObjectDownloadView now use 'file_field' argument instead of 'file_attribute', in order to mimic 'slug_field'.
|
2012-08-27 17:33:33 +02:00 |
|
Benoit Bryon
|
a45c79552e
|
Introduced ObjectDownloadView. UNSTABLE. Work in progress.
|
2012-08-27 17:05:24 +02:00 |
|
Benoit Bryon
|
536728bc0a
|
Introduced DownloadView. Introduced demo project, used to develop and test the library. Work in progress.
|
2012-08-27 15:57:47 +02:00 |
|
Benoit Bryon
|
f9bdd8fca7
|
Introduced project's placeholders. Work in progress.
|
2012-08-27 12:00:17 +02:00 |
|