Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #23888 -- Fixed crash in File.__repr__() when name contains unicode. | Sergey Fedoseev | 2014-11-24 | 1 | -6/+5 |
| | |||||
* | Fixed #8149 -- Made File.__iter__() support universal newlines. | Jon Dufresne | 2014-10-30 | 1 | -1/+49 |
| | | | | | | | | | | The following are recognized as ending a line: the Unix end-of-line convention '\n', the Windows convention '\r\n', and the old Macintosh convention '\r'. http://www.python.org/dev/peps/pep-0278 Thanks tchaumeny for review. | ||||
* | Fixed #22307 -- Fixed SpooledTemporaryFile bug in File class. | Hans Lawrenz | 2014-03-21 | 1 | -0/+14 |
| | | | | | | | Added condition to prevent checking the existence of a file name of a file like object when the name attribute is None. This is necessary because a SpooledTemporaryFile won't exist on the file system or have a name until it has reached its max_size. Also added tests. | ||||
* | Removed PIL compatability layer per deprecation timeline. | Tim Graham | 2014-03-21 | 1 | -8/+8 |
| | | | | refs #19934. | ||||
* | Fixed #22107 -- Fixed django.core.files.File object iteration. | Baptiste Mispelon | 2014-02-20 | 1 | -0/+8 |
| | | | | | | | Due to a mixup between text and bytes, iteration over a File instance was broken under Python 3. Thanks to trac user pdewacht for the report and patch. | ||||
* | Suppressed ResourceWarning in files tests | Claude Paroz | 2014-01-03 | 1 | -4/+5 |
| | |||||
* | Removed superfluous models.py files. | Aymeric Augustin | 2013-12-17 | 1 | -0/+0 |
| | | | | | | | Added comments in the three empty models.py files that are still needed. Adjusted the test runner to add applications corresponding to test labels to INSTALLED_APPS even when they don't have a models module. | ||||
* | Fixed #21302 -- Fixed unused imports and import *. | Tim Graham | 2013-11-02 | 1 | -2/+0 |
| | |||||
* | Rearranged some file-related tests | Claude Paroz | 2013-10-27 | 5 | -159/+140 |
| | | | | Just moving around some tests to be more logically grouped. | ||||
* | Removed unused local variables in tests. | Tim Graham | 2013-10-19 | 1 | -1/+1 |
| | |||||
* | Fixed #21268 -- Fixed E303 pep8 warnings | Alasdair Nicol | 2013-10-18 | 1 | -1/+0 |
| | |||||
* | Close file after tests added in 945e033a69. | Ramiro Morales | 2013-10-14 | 1 | -0/+4 |
| | | | | Avoids failures on Windows. Refs #8918. | ||||
* | Fixed #8918 -- Made FileField.upload_to optional. | Tim Graham | 2013-10-11 | 2 | -0/+7 |
| | | | | | Thanks leahculver for the suggestion and dc and vajrasky for work on the patch. | ||||
* | Fixed #21122 -- Improved clean up of test temp directory on Windows | Kevin Christopher Henry | 2013-10-02 | 1 | -0/+3 |
| | | | | | - Fixed test that didn't close the files it opened - Caught and handled exception when temp directory cannot be removed | ||||
* | Fixed #21033 -- Fixed uploaded filenames not always being truncated to 255 ↵ | homm | 2013-09-10 | 1 | -1/+0 |
| | | | | characters | ||||
* | Removed unneeded imports in tests's __init__.py and unified them. | Florian Apolloner | 2013-09-09 | 1 | -1/+0 |
| | |||||
* | Fixed #11857 -- Added missing 'closed' property on TemporaryFile class. | Christopher Adams | 2013-09-06 | 1 | -0/+15 |
| | | | | | | | | | | - TemporaryFile now minimally mocks the API of the Python standard library class tempfile.NamedTemporaryFile to avoid AttributeError exceptions. - The symbol django.core.files.NamedTemporaryFile is actually assigned as a different class on different operating systems. - The bug only occurred if Django is running on Windows, hence why it was hard to diagnose. | ||||
* | Removed most of absolute_import imports | Claude Paroz | 2013-07-29 | 1 | -1/+1 |
| | | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | ||||
* | Stopped using django.utils.unittest in the test suite. | Aymeric Augustin | 2013-07-01 | 1 | -1/+1 |
| | | | | Refs #20680. | ||||
* | Fixed #20486 -- Ensure that file_move_safe raises an error if the ↵ | Russell Keith-Magee | 2013-06-20 | 1 | -0/+14 |
| | | | | | | destination already exists. Thanks to kux for the report, and Russ Webber for the patch. | ||||
* | Merged regressiontests and modeltests into the test root. | Florian Apolloner | 2013-02-26 | 3 | -0/+179 |