mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #31060 -- Reallowed window expressions to be used in conditions outside of queryset filters.
Regression in 4edad1ddf6
.
Thanks utapyngo for the report.
This commit is contained in:
parent
5708327c37
commit
bf12273db4
4 changed files with 36 additions and 8 deletions
|
@ -17,3 +17,8 @@ Bugfixes
|
|||
* Fixed a regression in Django 3.0 where ``RegexPattern``, used by
|
||||
:func:`~django.urls.re_path`, returned positional arguments to be passed to
|
||||
the view when all optional named groups were missing (:ticket:`31061`).
|
||||
|
||||
* Reallowed, following a regression in Django 3.0,
|
||||
:class:`~django.db.models.expressions.Window` expressions to be used in
|
||||
conditions outside of queryset filters, e.g. in
|
||||
:class:`~django.db.models.expressions.When` conditions (:ticket:`31060`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue