Django

Code

Ticket #13882 (closed: fixed)

Opened 2 months ago

Last modified 1 month ago

exclude on nullable fields uses an overly complex internal representation

Reported by: Alex Assigned to: nobody
Milestone: Component: Database layer (models, ORM)
Version: 1.2 Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation:
Needs tests: Patch needs improvement:

Description

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

Attachments

django-orm-exclude-null.diff (0.8 kB) - added by Alex on 07/05/10 00:54:39.

Change History

07/05/10 00:54:39 changed by Alex

  • attachment django-orm-exclude-null.diff added.

07/29/10 23:06:28 changed by russellm

  • status changed from new to closed.
  • resolution set to fixed.

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

07/29/10 23:07:27 changed by russellm

(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.


Add/Change #13882 (exclude on nullable fields uses an overly complex internal representation)




Change Properties
Action