1
0
mirror of https://github.com/django/django.git synced 2025-01-09 01:46:20 +00:00
django/docs/releases/5.1.1.txt

22 lines
821 B
Plaintext

==========================
Django 5.1.1 release notes
==========================
*September 3, 2024*
Django 5.1.1 fixes one security issue with severity "moderate", one security
issues with severity "low", and several bugs in 5.1.
Bugfixes
========
* Fixed a regression in Django 5.1 that caused a crash of ``Window()`` when
passing an empty sequence to the ``order_by`` parameter, and a crash of
``Prefetch()`` for a sliced queryset without ordering (:ticket:`35665`).
* Fixed a regression in Django 5.1 where a new ``usable_password`` field was
included in :class:`~django.contrib.auth.forms.BaseUserCreationForm` (and
children). A new :class:`~django.contrib.auth.forms.AdminUserCreationForm`
including this field was added, isolating the feature to the admin where it
was intended (:ticket:`35678`).