1
0
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:
Ryan Heard
2020-05-19 00:47:56 -05:00
committed by Mariusz Felisiak
parent 2aac176e86
commit 587b179d41
4 changed files with 26 additions and 3 deletions

View File

@@ -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
~~~~~~~~~~~~~~~~~~~~~~