summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authornessita <124304+nessita@users.noreply.github.com>2025-02-01 22:49:07 -0300
committerNatalia <124304+nessita@users.noreply.github.com>2025-02-01 22:50:26 -0300
commitaffad13d0c56184e2089cd7e8ecd80dd4217f6c4 (patch)
treedc9496afe0bfa2efb0fb9557756dd658e4ed780b /docs
parente939cffa504837d90cf2958306f57649ee6a8323 (diff)
[5.2.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.txt4
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`).