Django 2.2.7发行说明

2019年11月4日

Django 2.2.7修复了2.2.6中的几个错误。

错误修正

  • 修复了使用 containscontained_byhas_keyhas_keys ,或 has_any_keys 查找对象 django.contrib.postgres.fields.JSONField 如果表达式的右手边或左手边是键转换 (#30826 )。

  • 预防的 migrate --plan 从展示出来 RunPythonreverse_code 可调用项没有docstring,也没有显示前向迁移计划 (#30870

  • Fixed migrations crash on PostgreSQL when adding an Index with fields ordering and opclasses (#30903).

  • Restored the ability to override get_FOO_display() (#30931).