| 1 |
========================== |
| 2 |
Django 1.9.5 release notes |
| 3 |
========================== |
| 4 |
|
| 5 |
*April 1, 2016* |
| 6 |
|
| 7 |
Django 1.9.5 fixes several bugs in 1.9.4. |
| 8 |
|
| 9 |
Bugfixes |
| 10 |
======== |
| 11 |
|
| 12 |
* Made ``MultiPartParser`` ignore filenames that normalize to an empty string |
| 13 |
to fix crash in ``MemoryFileUploadHandler`` on specially crafted user input |
| 14 |
(:ticket:`26325`). |
| 15 |
|
| 16 |
* Fixed a race condition in ``BaseCache.get_or_set()`` (:ticket:`26332`). It |
| 17 |
now returns the ``default`` value instead of ``False`` if there's an error |
| 18 |
when trying to add the value to the cache. |
| 19 |
|
| 20 |
* Fixed data loss on SQLite where ``DurationField`` values with fractional |
| 21 |
seconds could be saved as ``None`` (:ticket:`26324`). |
| 22 |
|
| 23 |
* The forms in ``contrib.auth`` no longer strip trailing and leading whitespace |
| 24 |
from the password fields (:ticket:`26334`). The change requires users who set |
| 25 |
their password to something with such whitespace after a site updated to |
| 26 |
Django 1.9 to reset their password. It provides backwards-compatibility for |
| 27 |
earlier versions of Django. |
| 28 |
|
| 29 |
* Fixed a memory leak in the cached template loader (:ticket:`26306`). |
| 30 |
|
| 31 |
* Fixed a regression that caused ``collectstatic --clear`` to fail if the |
| 32 |
storage doesn't implement ``path()`` (:ticket:`26297`). |
| 33 |
|
| 34 |
* Fixed a crash when using a reverse lookup with a subquery when a |
| 35 |
``ForeignKey`` has a ``to_field`` set to something other than the primary key |
| 36 |
(:ticket:`26373`). |
| 37 |
|
| 38 |
* Fixed a regression in ``CommonMiddleware`` that caused spurious warnings in |
| 39 |
logs on requests missing a trailing slash (:ticket:`26293`). |
| 40 |
|
| 41 |
* Restored the functionality of the admin's ``raw_id_fields`` in |
| 42 |
``list_editable`` (:ticket:`26387`). |
| 43 |
|
| 44 |
* Fixed a regression with abstract model inheritance and explicit parent links |
| 45 |
(:ticket:`26413`). |
| 46 |
|
| 47 |
* Fixed a migrations crash on SQLite when renaming the primary key of a model |
| 48 |
containing a ``ForeignKey`` to ``'self'`` (:ticket:`26384`). |
| 49 |
|
| 50 |
* Fixed ``JSONField`` inadvertently escaping its contents when displaying values |
| 51 |
after failed form validation (:ticket:`25532`). |