Claude Paroz
|
2626ea4a74
|
Fixed #14681 -- Do not set mode to None on file-like objects.
gzip.GzipFile does not support files with mode set to None.
|
2012-05-31 10:02:35 +02:00 |
Claude Paroz
|
9383a2761c
|
Removed with_statement imports, useless in Python >= 2.6. Refs #17965. Thanks jonash for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2012-03-30 08:02:08 +00:00 |
Alex Gaynor
|
d5a45d79fe
|
Convert all modeltests to use absolute imports, rather than relative ones.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2011-10-13 18:04:12 +00:00 |
Jannis Leidel
|
24f4764a48
|
Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for 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-07-13 09:35:51 +00:00 |
Alex Gaynor
|
e54c0a0c94
|
Move the Python 2.5 specific tests out of their own special files now that 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-03-28 05:58:43 +00:00 |
Russell Keith-Magee
|
b700c3a918
|
Fixed #15364 -- Ensure files are closed correctly during file tests. Thanks to Mila for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2011-02-21 13:45:29 +00:00 |
Carl Meyer
|
00e7a571c5
|
Fixed #6456 - Excised FileField file deletion to avoid data loss. Thanks to durdinator for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15321 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2011-01-26 07:46:19 +00:00 |
Alex Gaynor
|
f5f18a38ab
|
Fixed #14749 -- added support for using Django's file object as context 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-11-21 17:51:41 +00:00 |
Russell Keith-Magee
|
a45c687ecf
|
Migrate the files doctests. Thanks to Alex Gaynor.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13781 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2010-09-12 20:03:55 +00:00 |