diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2008-07-07 23:16:00 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2008-07-07 23:16:00 +0000 |
| commit | a28b75b0ba9650ae3bd46e38d12d95d48f5c5664 (patch) | |
| tree | 60084232ace3608e32c9f15987263795f0592265 /tests/regressiontests/admin_scripts/models.py | |
| parent | 9dabd1f8ff7760f28bd1dcfa8b83ae6b1c0b79aa (diff) | |
Fixed #7614: the quickening has come, and there now is only one UploadedFile. On top of that, UploadedFile's interface has been improved:
* The API now more closely matches a proper file API. This unfortunately means a few backwards-incompatible renamings; see BackwardsIncompatibleChanges. This refs #7593.
* While we were at it, renamed chunk() to chunks() to clarify that it's an iterator.
* Temporary uploaded files now property use the tempfile library behind the scenes which should ensure better cleanup of tempfiles (refs #7593 again).
Thanks to Mike Axiak for the bulk of this patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/admin_scripts/models.py')
0 files changed, 0 insertions, 0 deletions
