mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
[3.0.x] Fixed #31060 -- Reallowed window expressions to be used in conditions outside of queryset filters.
Regression in4edad1ddf6
. Thanks utapyngo for the report. Backport ofbf12273db4
from master.
This commit is contained in:
parent
e986e49e66
commit
8af07712df
4 changed files with 38 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