2022-01-04 18:10:53 +08:00
|
|
|
==========================
|
|
|
|
Django 4.0.2 release notes
|
|
|
|
==========================
|
|
|
|
|
2022-01-11 16:57:01 +08:00
|
|
|
*February 1, 2022*
|
2022-01-04 18:10:53 +08:00
|
|
|
|
2022-01-11 16:57:01 +08:00
|
|
|
Django 4.0.2 fixes two security issues with severity "medium" and several bugs
|
|
|
|
in 4.0.1.
|
2022-01-04 18:10:53 +08:00
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2022-01-05 06:06:46 +08:00
|
|
|
* Fixed a bug in Django 4.0 where ``TestCase.captureOnCommitCallbacks()`` could
|
|
|
|
execute callbacks multiple times (:ticket:`33410`).
|
2022-01-07 15:46:55 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.0 where ``help_text`` was HTML-escaped in
|
|
|
|
automatically-generated forms (:ticket:`33419`).
|
2022-01-07 20:57:03 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.0 that caused displaying an incorrect name for
|
|
|
|
class-based views on the technical 404 debug page (:ticket:`33425`).
|
2022-01-10 21:01:35 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.0 that caused an incorrect ``repr`` of
|
|
|
|
``ResolverMatch`` for class-based views (:ticket:`33426`).
|
2022-01-19 23:27:07 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.0 that caused a crash of ``makemigrations`` on
|
|
|
|
models without ``Meta.order_with_respect_to`` but with a field named
|
|
|
|
``_order`` (:ticket:`33449`).
|
2022-01-19 19:06:38 +08:00
|
|
|
|
|
|
|
* Fixed a regression in Django 4.0 that caused incorrect
|
|
|
|
:attr:`.ModelAdmin.radio_fields` layout in the admin (:ticket:`33407`).
|