#22648 closed Bug (fixed)
Overridden get_lookup/get_transform not chainable
Reported by: | Marc Tamlyn | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
If a transform has an output_type
which has a customised get_transform
or get_lookup
function, then it is not properly called.
Change History (5)
comment:1 by , 11 years ago
Has patch: | set |
---|
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 11 years ago
Needs backport to 1.7, also see the fix in https://github.com/django/django/commit/5a2556afb9b1b3ef6e0622552970c67ac84ecd28 -- not sure if field_type should ever be None, please fix in the process of backporting.
Note:
See TracTickets
for help on using tickets.
Fixed in https://github.com/mjtamlyn/django/commit/253ef84bcf3c10660941301f81e92d02e43886c6