#19849: ORM cleanup ----------------------------------------------+-------------------- Reporter: akaariai | Owner: nobody Type: Cleanup/optimization | Status: new Component: Database layer (models, ORM) | Version: master Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 1 Easy pickings: 0 | UI/UX: 0 ----------------------------------------------+-------------------- 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. -- Ticket URL: <https://code.djangoproject.com/ticket/19849> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.