Commit graph

11 commits

Author SHA1 Message Date
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