summaryrefslogtreecommitdiff
path: root/docs/releases/6.0.4.txt
blob: de75dc7d13321660b42899e530bcf4c852b4168c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
==========================
Django 6.0.4 release notes
==========================

*April 7, 2026*

Django 6.0.4 fixes one security issue with severity "moderate", four security
issues with severity "low", and several bugs in 6.0.3.

Bugfixes
========

* Fixed a regression in Django 6.0 where :func:`~django.contrib.auth.alogin`
  and :func:`~django.contrib.auth.alogout` did not respectively set or clear
  ``request.user`` if it had already been materialized (e.g., by sync
  middleware) (:ticket:`37017`).

* Fixed a regression in Django 6.0 in admin forms where
  ``RelatedFieldWidgetWrapper`` incorrectly wrapped all widgets in a
  ``<fieldset>`` (:ticket:`36949`).

* Fixed a bug in Django 6.0 where the ``fields.E348`` system check did not
  detect name clashes between model managers and
  :attr:`~django.db.models.ForeignKey.related_name`\s for non-self-referential
  relationships (:ticket:`36973`).