Nullable FK to inherited model excludes results when using .select_related()
|Reported by:||Adam Gomaa||Owned by:||Malcolm Tredinnick|
|Component:||Database layer (models, ORM)||Version:||master|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Patch to the query regression test demonstrating the problem is attached. I'm pretty lost on getting a fix; it's in some hairy query code.
Present in 1.0 and trunk.
Change History (7)
comment:1 Changed 8 years ago by
|Owner:||changed from nobody to Malcolm Tredinnick|
|Patch needs improvement:||unset|
|Status:||new → assigned|