<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/tests/regressiontests/file_storage, branch archive/soc2010/app-loading</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=archive%2Fsoc2010%2Fapp-loading</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=archive%2Fsoc2010%2Fapp-loading'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2010-09-13T00:04:27Z</updated>
<entry>
<title>[soc2010/app-loading] merged trunk</title>
<updated>2010-09-13T00:04:27Z</updated>
<author>
<name>Arthur Koziel</name>
<email>arthur@arthurkoziel.com</email>
</author>
<published>2010-09-13T00:04:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=dd49269c7db008b2567f50cb03c4d3d9b321daa1'/>
<id>urn:sha1:dd49269c7db008b2567f50cb03c4d3d9b321daa1</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/app-loading@13818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed a regression on Python &lt; 2.6 introduced in [12552].</title>
<updated>2010-02-23T23:23:38Z</updated>
<author>
<name>Jacob Kaplan-Moss</name>
<email>jacob@jacobian.org</email>
</author>
<published>2010-02-23T23:23:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=d47b9ec2c71868105df41e50020c9ec2eae76b62'/>
<id>urn:sha1:d47b9ec2c71868105df41e50020c9ec2eae76b62</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #10258: handle duplicate file names better.</title>
<updated>2010-02-23T22:39:22Z</updated>
<author>
<name>Jacob Kaplan-Moss</name>
<email>jacob@jacobian.org</email>
</author>
<published>2010-02-23T22:39:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=5366aa96fef0ce55fc425cf273c7debe74d99305'/>
<id>urn:sha1:5366aa96fef0ce55fc425cf273c7debe74d99305</id>
<content type='text'>
Instead of just continually appending "_" to duplicate file names, Django's
default storage now appends `_1`, `_2`, `_3`, etc.

Thanks to ianschenck and Thilo.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #6054: work around PIL's installation brokeness by detecting either of the two ways it can end up being installed.</title>
<updated>2010-02-14T18:28:28Z</updated>
<author>
<name>Jacob Kaplan-Moss</name>
<email>jacob@jacobian.org</email>
</author>
<published>2010-02-14T18:28:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=757898162670b1a3178af3a0dc9fa2921c48702c'/>
<id>urn:sha1:757898162670b1a3178af3a0dc9fa2921c48702c</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12429 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed a few Python 2.3 incompatibilities that were causing test failures.</title>
<updated>2009-05-29T05:23:50Z</updated>
<author>
<name>Gary Wilson Jr</name>
<email>gary.wilson@gmail.com</email>
</author>
<published>2009-05-29T05:23:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=419747d1c8363f06a143429ffe58e67f2f217b5e'/>
<id>urn:sha1:419747d1c8363f06a143429ffe58e67f2f217b5e</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Changes to `ImageFileDescriptor` and `ImageField` to fix a few cases of setting image dimension fields.</title>
<updated>2009-05-28T05:46:09Z</updated>
<author>
<name>Gary Wilson Jr</name>
<email>gary.wilson@gmail.com</email>
</author>
<published>2009-05-28T05:46:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=d89ba464dde14abc3aaf6d1e02202721f5fd2b3f'/>
<id>urn:sha1:d89ba464dde14abc3aaf6d1e02202721f5fd2b3f</id>
<content type='text'>
 * Moved dimension field update logic out of `ImageFileDescriptor.__set__` and into its own method on `ImageField`.
 * New `ImageField.update_dimension_fields` method is attached to model instance's `post_init` signal so that:
   * Dimension fields are set when defined before the ImageField.
   * Dimension fields are set when the field is assigned in the model constructor (fixes #11196), but only if the dimension fields don't already have values, so we avoid updating the dimensions every time an object is loaded from the database (fixes #11084).
 * Clear dimension fields when the ImageField is set to None, which also causes dimension fields to be cleared when `ImageFieldFile.delete()` is used.
 * Added many more tests for ImageField that test edge cases we weren't testing before, and moved the ImageField tests out of `file_storage` and into their own module within `model_fields`.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@10858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #11032: close() a file explictly open()'d in a test, so that deleting the file tree it is in doesn't fail on Windows.  Thanks bthomas for the patch.</title>
<updated>2009-05-11T16:13:29Z</updated>
<author>
<name>Karen Tracey</name>
<email>kmtracey@gmail.com</email>
</author>
<published>2009-05-11T16:13:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=14a6f6cf9a44f0e8f088633d36cc2794c0b27e97'/>
<id>urn:sha1:14a6f6cf9a44f0e8f088633d36cc2794c0b27e97</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10741 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #10404: ImageField height_field and width_field options no longer depend on putting the image field after the height/width fields as they did after r9766.</title>
<updated>2009-05-11T09:57:19Z</updated>
<author>
<name>Jacob Kaplan-Moss</name>
<email>jacob@jacobian.org</email>
</author>
<published>2009-05-11T09:57:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=2b0903b2c4b6f5534e88d25254c6dcf02cc9d485'/>
<id>urn:sha1:2b0903b2c4b6f5534e88d25254c6dcf02cc9d485</id>
<content type='text'>
This bug actually exposed a related handful of inconsistancies in the underlying file handling and wraping, so a few related changes are in here as well:

    * Dimensions are also now calculated the moment the image is assigned to the field instead of upon save.
    * The base `File` object now when possible delegates its closed attribute down to the os-level file it wrapps.
    * In-memory files' `close()` now is a no-op. Without this certain APIs that should be able to handle in-memory files were failing.
    * Accessing `FieldFile.closed` used to open the file. That's silly, and it doesn't any more.
    * Some over-eager error handling was squishing some errors that would normally be raised. One unit test was incorrectly depending on this behavior, so the test was removed.

Thanks to Armin Ronacher for much of this work.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #7712, #9404, #10249, #10300: a light refactor and cleanup of file storage and the `File` object. Thanks to Armin Ronacher and Alex Gaynor.</title>
<updated>2009-05-08T15:08:09Z</updated>
<author>
<name>Jacob Kaplan-Moss</name>
<email>jacob@jacobian.org</email>
</author>
<published>2009-05-08T15:08:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=68a890e79f660484d05482902663b6168f0bd71e'/>
<id>urn:sha1:68a890e79f660484d05482902663b6168f0bd71e</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10717 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fixed #8817: get_image_dimensions correctly closes the files it opens, and leaves open the ones it doesn't. Thanks, mitsuhiko.</title>
<updated>2009-05-08T10:56:51Z</updated>
<author>
<name>Jacob Kaplan-Moss</name>
<email>jacob@jacobian.org</email>
</author>
<published>2009-05-08T10:56:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=a7faf6424a8193cbf8a3a8d017461188fe9ea9c9'/>
<id>urn:sha1:a7faf6424a8193cbf8a3a8d017461188fe9ea9c9</id>
<content type='text'>
While I was at it, I converted the file_storage doctests to unit tests.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
</feed>
