2019-10-01 16:42:43 +08:00
|
|
|
==========================
|
|
|
|
Django 2.2.7 release notes
|
|
|
|
==========================
|
|
|
|
|
2019-11-04 15:20:22 +08:00
|
|
|
*November 4, 2019*
|
2019-10-01 16:42:43 +08:00
|
|
|
|
|
|
|
Django 2.2.7 fixes several bugs in 2.2.6.
|
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2019-10-02 07:25:40 +08:00
|
|
|
* Fixed a crash when using a ``contains``, ``contained_by``, ``has_key``,
|
|
|
|
``has_keys``, or ``has_any_keys`` lookup on
|
2021-01-14 16:33:12 +08:00
|
|
|
``django.contrib.postgres.fields.JSONField``, if the right or left hand
|
2019-10-02 07:25:40 +08:00
|
|
|
side of an expression is a key transform (:ticket:`30826`).
|
2019-10-14 15:37:45 +08:00
|
|
|
|
|
|
|
* Prevented :option:`migrate --plan` from showing that ``RunPython`` operations
|
|
|
|
are irreversible when ``reverse_code`` callables don't have docstrings or
|
|
|
|
when showing a forward migration plan (:ticket:`30870`).
|
2019-10-24 04:16:55 +08:00
|
|
|
|
|
|
|
* Fixed migrations crash on PostgreSQL when adding an
|
|
|
|
:class:`~django.db.models.Index` with fields ordering and
|
|
|
|
:attr:`~.Index.opclasses` (:ticket:`30903`).
|
2019-10-31 18:34:56 +08:00
|
|
|
|
|
|
|
* Restored the ability to override
|
|
|
|
:meth:`~django.db.models.Model.get_FOO_display` (:ticket:`30931`).
|