#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)
Change History (3)
by , 15 years ago
| Attachment: | django-orm-exclude-null.diff added |
|---|
comment:1 by , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 15 years ago
Note:
See TracTickets
for help on using tickets.
(In [13456]) Fixed #13882 -- Removed an unnecessary nested where clause introduced on isnull queries. Thanks to Alex Gaynor for the report and patch.