diff options
| author | nessita <124304+nessita@users.noreply.github.com> | 2025-02-01 22:49:07 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-01 22:49:07 -0300 |
| commit | d15454a6e84a595ffc8dc1b926282f484f782a8f (patch) | |
| tree | 8974c0723432ed686db0c9d2633ed3a45848ac0b /docs | |
| parent | 248d8457cbec631ef93d76137bc621106347adda (diff) | |
Fixed #36140 -- Allowed BaseUserCreationForm to define non required password fields.
Regression in e626716c28b6286f8cf0f8174077f3d2244f3eb3.
Thanks buffgecko12 for the report and Sarah Boyce for the review.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.1.6.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/5.1.6.txt b/docs/releases/5.1.6.txt index 3b23192033..10fd9aca8b 100644 --- a/docs/releases/5.1.6.txt +++ b/docs/releases/5.1.6.txt @@ -12,3 +12,7 @@ Bugfixes * Fixed a regression in Django 5.1.5 that caused ``validate_ipv6_address()`` and ``validate_ipv46_address()`` to crash when handling non-string values (:ticket:`36098`). + +* Fixed a regression in Django 5.1 where password fields, despite being set to + ``required=False``, were still treated as required in forms derived from + :class:`~django.contrib.auth.forms.BaseUserCreationForm` (:ticket:`36140`). |
