2.2.7.txt 903 B

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