| 1 |
========================== |
| 2 |
Django 1.9.6 release notes |
| 3 |
========================== |
| 4 |
|
| 5 |
*May 2, 2016* |
| 6 |
|
| 7 |
Django 1.9.6 fixes several bugs in 1.9.5. |
| 8 |
|
| 9 |
Bugfixes |
| 10 |
======== |
| 11 |
|
| 12 |
* Added support for relative path redirects to the test client and to |
| 13 |
``SimpleTestCase.assertRedirects()`` because Django 1.9 no longer converts |
| 14 |
redirects to absolute URIs (:ticket:`26428`). |
| 15 |
|
| 16 |
* Fixed ``TimeField`` microseconds round-tripping on MySQL and SQLite |
| 17 |
(:ticket:`26498`). |
| 18 |
|
| 19 |
* Prevented ``makemigrations`` from generating infinite migrations for a model |
| 20 |
field that references a ``functools.partial`` (:ticket:`26475`). |
| 21 |
|
| 22 |
* Fixed a regression where ``SessionBase.pop()`` returned ``None`` rather than |
| 23 |
raising a ``KeyError`` for nonexistent values (:ticket:`26520`). |
| 24 |
|
| 25 |
* Fixed a regression causing the cached template loader to crash when using |
| 26 |
template names starting with a dash (:ticket:`26536`). |
| 27 |
|
| 28 |
* Restored conversion of an empty string to null when saving values of |
| 29 |
``GenericIPAddressField`` on SQLite and MySQL (:ticket:`26557`). |
| 30 |
|
| 31 |
* Fixed a ``makemessages`` regression where temporary ``.py`` extensions were |
| 32 |
leaked in source file paths (:ticket:`26341`). |