• dev
  • Documentation version: 4.0

Django 4.0.2 release notes

Expected February 1, 2022

Django 4.0.2 fixes several bugs in 4.0.1.

Bugfixes

  • Fixed a bug in Django 4.0 where TestCase.captureOnCommitCallbacks() could execute callbacks multiple times (#33410).
  • Fixed a regression in Django 4.0 where help_text was HTML-escaped in automatically-generated forms (#33419).
  • Fixed a regression in Django 4.0 that caused displaying an incorrect name for class-based views on the technical 404 debug page (#33425).
  • Fixed a regression in Django 4.0 that caused an incorrect repr of ResolverMatch for class-based views (#33426).
Back to Top