| 1 |
========================== |
| 2 |
Django 2.2.7 release notes |
| 3 |
========================== |
| 4 |
|
| 5 |
*November 4, 2019* |
| 6 |
|
| 7 |
Django 2.2.7 fixes several bugs in 2.2.6. |
| 8 |
|
| 9 |
Bugfixes |
| 10 |
======== |
| 11 |
|
| 12 |
* Fixed a crash when using a ``contains``, ``contained_by``, ``has_key``, |
| 13 |
``has_keys``, or ``has_any_keys`` lookup on |
| 14 |
``django.contrib.postgres.fields.JSONField``, if the right or left hand |
| 15 |
side of an expression is a key transform (:ticket:`30826`). |
| 16 |
|
| 17 |
* Prevented :option:`migrate --plan` from showing that ``RunPython`` operations |
| 18 |
are irreversible when ``reverse_code`` callables don't have docstrings or |
| 19 |
when showing a forward migration plan (:ticket:`30870`). |
| 20 |
|
| 21 |
* Fixed migrations crash on PostgreSQL when adding an |
| 22 |
:class:`~django.db.models.Index` with fields ordering and |
| 23 |
:attr:`~.Index.opclasses` (:ticket:`30903`). |
| 24 |
|
| 25 |
* Restored the ability to override |
| 26 |
:meth:`~django.db.models.Model.get_FOO_display` (:ticket:`30931`). |