| 1 |
========================== |
| 2 |
Django 2.0.1 release notes |
| 3 |
========================== |
| 4 |
|
| 5 |
*January 1, 2018* |
| 6 |
|
| 7 |
Django 2.0.1 fixes several bugs in 2.0. |
| 8 |
|
| 9 |
Bugfixes |
| 10 |
======== |
| 11 |
|
| 12 |
* Fixed a regression in Django 1.11 that added newlines between ``MultiWidget``'s |
| 13 |
subwidgets (:ticket:`28890`). |
| 14 |
|
| 15 |
* Fixed incorrect class-based model index name generation for models with |
| 16 |
quoted ``db_table`` (:ticket:`28876`). |
| 17 |
|
| 18 |
* Fixed incorrect foreign key constraint name for models with quoted |
| 19 |
``db_table`` (:ticket:`28876`). |
| 20 |
|
| 21 |
* Fixed a regression in caching of a ``GenericForeignKey`` when the referenced |
| 22 |
model instance uses more than one level of multi-table inheritance |
| 23 |
(:ticket:`28856`). |
| 24 |
|
| 25 |
* Reallowed filtering a queryset with ``GeometryField=None`` (:ticket:`28896`). |
| 26 |
|
| 27 |
* Corrected admin check to allow a ``OneToOneField`` in |
| 28 |
``ModelAdmin.autocomplete_fields`` (:ticket:`28898`). |
| 29 |
|
| 30 |
* Fixed a regression on SQLite where ``DecimalField`` returned a result with |
| 31 |
trailing zeros in the fractional part truncated (:ticket:`28915`). |
| 32 |
|
| 33 |
* Fixed crash in the ``testserver`` command startup (:ticket:`28941`). |
| 34 |
|
| 35 |
* Fixed crash when coercing a translatable URL pattern to ``str`` |
| 36 |
(:ticket:`28947`). |
| 37 |
|
| 38 |
* Fixed crash on SQLite when renaming a field in a model referenced by a |
| 39 |
``ManyToManyField`` (:ticket:`28884`). |
| 40 |
|
| 41 |
* Fixed a crash when chaining ``values()`` or ``values_list()`` after |
| 42 |
``QuerySet.select_for_update(of=(...))`` (:ticket:`28944`). |
| 43 |
|
| 44 |
* Fixed admin changelist crash when using a query expression in the page's |
| 45 |
ordering (:ticket:`28958`). |