django1/django
Jacob Kaplan-Moss 2b0903b2c4 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.
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
2009-05-11 09:57:19 +00:00
..
bin Fixed #10102 -- Set svn:executable on daily_cleanup script. Thanks to John Scott for the report 2009-03-14 05:18:02 +00:00
conf git-svn-id: http://code.djangoproject.com/svn/django/trunk@10721 bcc190cf-cafb-0310-a4f2-bffc1f526a37 2009-05-08 16:20:28 +00:00
contrib Changed r10668 to not falsely error out when using generic inlines. 2009-05-10 21:09:38 +00:00
core 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. 2009-05-11 09:57:19 +00:00
db 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. 2009-05-11 09:57:19 +00:00
dispatch Fixed #10753 -- Fixed regression in dispatcher after [10398]. Thanks for the patch and tests, minmax 2009-04-10 18:58:32 +00:00
forms Changed r10668 to not falsely error out when using generic inlines. 2009-05-10 21:09:38 +00:00
http Fixed #10687: fixed request parsing when upload_handlers is empty. Thanks, Armin Ronacher. 2009-05-08 17:22:34 +00:00
middleware Fixed #10630 -- Be even more conservative in GZipMiddleware for IE. 2009-04-12 04:14:23 +00:00
shortcuts Fixed #10194: added `django.shortcuts.redirect`, a do-what-I-mean redirect shortcut. See the docs at topics/http/shortcuts for details. 2009-03-21 13:09:13 +00:00
template Fixed #11026, a small typo in the regroup template tag docstring. Thanks, 2009-05-07 13:46:16 +00:00
templatetags Fixed #10369 -- Fixed auto-escaping inside "tran" and "blocktrans" tags. 2009-04-11 12:03:52 +00:00
test Fixed #10831 -- Prevented code running under a to-be-rolled-back test from calling commit via transaction.managed(False). Thanks seanl for report and patch. 2009-04-22 19:10:28 +00:00
utils Fixed #10825: fixed the 'U' format code to dateformat (and the date/now filter/tag). Thanks to gsong and mir. 2009-05-08 13:39:37 +00:00
views Fixed #10458 -- Corrected the `next_month` and `previous_month` context variables provided with the generic month_archive view. The value returned now matches the docstring and the generic views documentation. Thanks to fperetti for the report and initial patch. 2009-04-13 13:23:03 +00:00
__init__.py Bumped version for 1.1 beta. 2009-03-24 00:24:32 +00:00