mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #31606 -- Allowed using condition with lookups in When() expression.
This commit is contained in:
committed by
Mariusz Felisiak
parent
2aac176e86
commit
587b179d41
@@ -178,6 +178,9 @@ Models
|
||||
supported on PostgreSQL, allows acquiring weaker locks that don't block the
|
||||
creation of rows that reference locked rows through a foreign key.
|
||||
|
||||
* :class:`When() <django.db.models.expressions.When>` expression now allows
|
||||
using the ``condition`` argument with ``lookups``.
|
||||
|
||||
Requests and Responses
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user