mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
[1.6.x] Fixed #22429 -- Incorrect SQL when using ~Q and F
Backpatch of 5e1f4656b9 from master.
Conflicts:
django/db/models/sql/query.py
tests/queries/models.py
tests/queries/tests.py
This commit is contained in:
@@ -14,3 +14,6 @@ Bugfixes
|
||||
|
||||
* Fixed ``pgettext_lazy`` crash when receiving bytestring content on Python 2
|
||||
(`#22565 <http://code.djangoproject.com/ticket/22565>`_).
|
||||
|
||||
* Fixed the SQL generated when filtering by a negated ``Q`` object that contains
|
||||
a ``F`` object. (`#22429 <http://code.djangoproject.com/ticket/22429>`_).
|
||||
|
||||
Reference in New Issue
Block a user