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