Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#13882 closed (fixed)

exclude on nullable fields uses an overly complex internal representation

Reported by: Alex Gaynor Owned by: nobody
Component: Database layer (models, ORM) Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: no UI/UX: no

Description

It nests Where clauses more than is necessary, and this can be trivially fixed.

Attachments (1)

django-orm-exclude-null.diff (834 bytes ) - added by Alex Gaynor 14 years ago.

Download all attachments as: .zip

Change History (3)

by Alex Gaynor, 14 years ago

comment:1 by Russell Keith-Magee, 14 years ago

Resolution: fixed
Status: newclosed

(In [13456]) Fixed #13882 -- Removed an unnecessary nested where clause introduced on isnull queries. Thanks to Alex Gaynor for the report and patch.

comment:2 by Russell Keith-Magee, 14 years ago

(In [13457]) [1.2.X] Fixed #13882 -- Removed an unnecessary nested where clause introduced on isnull queries. Thanks to Alex Gaynor for the report and patch.

Backport of r13456 from trunk.

Note: See TracTickets for help on using tickets.
Back to Top