id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 9926,Nullable FK to inherited model excludes results when using .select_related(),Adam Gomaa,Malcolm Tredinnick,"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.",,closed,"Database layer (models, ORM)",dev,,fixed,,,Accepted,0,0,0,0,0,0