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 19849 ORM cleanup Anssi Kääriäinen nobody "Three items: - Cleanup IS NOT NULL condition generation for negated lookups in add_filter() (also fixes one bug, and simplifies split_exclude()). Handled in commit: https://github.com/akaariai/django/commit/4d8ed818beb59b1e6d04eead6c9dad0bf2bdafb7 - Removal of Query.join()'s promote kwarg. This also improves handling of promotion in select_related(). Before select_related() always promoted any used join if nullable, now only if the join is newly created. In case there is already existing inner join we know any null value will remove results in any case, so the louter join is wrong here. Commit: https://github.com/akaariai/django/commit/f7f7044dedabdd04b6806409239e040c25d2bb83 - Cleaned up join promotion in combine(), commit: https://github.com/akaariai/django/commit/bfc88e7e3dded3d4259d70f31d65d36b0e197144 I plan to commit these shortly." Cleanup/optimization closed Database layer (models, ORM) dev Normal fixed Accepted 1 0 0 0 0 0