Benoit Bryon
|
343b8bea07
|
Use **kwargs in DownloadMixin.render_to_response()
|
2012-11-22 09:51:52 +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
|
d69b84a705
|
Modified the way documentation version is retrieved, so that readthedocs.org can get it.
|
2012-08-29 10:19:51 +02:00 |
|
Benoit Bryon
|
36e862d1c0
|
Introduced API documentation. Not complete yet, since docstrings are not verbose.
|
2012-08-29 10:11:08 +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
|
24b15e0400
|
Improved testing. Fixed 'make documentation'.
|
2012-08-27 18:27:00 +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
|
d48a3d9052
|
Promoted ObjectDownloadView instead of DownloadView in README.
|
2012-08-27 17:25:24 +02:00 |
|
Benoit Bryon
|
a45c79552e
|
Introduced ObjectDownloadView. UNSTABLE. Work in progress.
|
2012-08-27 17:05:24 +02:00 |
|
Benoit Bryon
|
224fbb15ec
|
Added notice in README: experimental project.
|
2012-08-27 16:14:35 +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 |
|