diff options
| author | nessita <124304+nessita@users.noreply.github.com> | 2025-02-01 22:49:07 -0300 |
|---|---|---|
| committer | Natalia <124304+nessita@users.noreply.github.com> | 2025-02-01 22:51:06 -0300 |
| commit | 8552eef95e400d5bad3261b28ad2500b57070d57 (patch) | |
| tree | 6c2248db7f5b860a39e276ca458959892e25ca97 /docs | |
| parent | 76b4fb74ce8219db0444e896218e39f3abbf3f0c (diff) | |
[5.1.x] Fixed #36140 -- Allowed BaseUserCreationForm to define non required password fields.
Regression in e626716c28b6286f8cf0f8174077f3d2244f3eb3.
Thanks buffgecko12 for the report and Sarah Boyce for the review.
Backport of d15454a6e84a595ffc8dc1b926282f484f782a8f from main.
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`). |
