summaryrefslogtreecommitdiff
path: root/tests/modeltests/files/tests.py
AgeCommit message (Collapse)Author
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner
2013-02-24Fixed a few ResourceWarnings.Florian Apolloner
2013-02-23Fixed errors introduced in 664855b74e1f417384dc7aef35a3df5f86db52d6Florian Apolloner
2013-02-23#18899 FileSystemStorage.save should support any file-like objectsMarcin Biernat
2012-12-27Fixed #19525 -- Reverted dcd4383107 and 05d333ba3b.Aymeric Augustin
Refs #9893, #18515. Thanks Russell for the report.
2012-08-29Removed unnecessary bytes prefix for ContentFileClaude Paroz
2012-08-11[py3] Various minor syntax fixes in the test suiteClaude Paroz
2012-06-26Fixed #18515 -- Conditionally regenerated filename in FileField validationClaude Paroz
When a FileField value has been saved, a new validation should not regenerate a new filename when checking the length. Refs #9893.
2012-06-07Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.Claude Paroz
Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review.
2012-05-31Fixed #14681 -- Do not set mode to None on file-like objects.Claude Paroz
gzip.GzipFile does not support files with mode set to None.
2012-03-30Removed with_statement imports, useless in Python >= 2.6. Refs #17965. ↵Claude Paroz
Thanks jonash for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-13Convert all modeltests to use absolute imports, rather than relative ones.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-13Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for ↵Jannis Leidel
the work on the patch and Alex for reviewing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-28Move the Python 2.5 specific tests out of their own special files now that ↵Alex Gaynor
2.5 is the default. Also add __futre__ import where necessary. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15935 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21Fixed #15364 -- Ensure files are closed correctly during file tests. Thanks ↵Russell Keith-Magee
to Mila for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-26Fixed #6456 - Excised FileField file deletion to avoid data loss. Thanks to ↵Carl Meyer
durdinator for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15321 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-21Fixed #14749 -- added support for using Django's file object as context ↵Alex Gaynor
managers. Thanks to Florian Apolloner for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12Migrate the files doctests. Thanks to Alex Gaynor.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13781 bcc190cf-cafb-0310-a4f2-bffc1f526a37