Changes between Initial Version and Version 1 of Ticket #28422, comment 5


Ignore:
Timestamp:
Jul 21, 2017, 10:38:55 AM (7 years ago)
Author:
Chris Connelly

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28422, comment 5

    initial v1  
    11I was actually in the process of writing a similar ticket when this one popped up! As with what Debanshu Kundu stated above, my goal was to add a join to a subquery. My solution was a lot lower fidelity - I used `QuerySet.extra` to inject a placeholder table (e.g. `{{JOIN}}`) which I then substituted with the generated subquery before execution.
    22
    3 This does seem like this could be done if https://github.com/django/django/pull/8238 was merged, which is an offshoot of #27332.
     3It seems like there is a PR that would support this if merged: https://github.com/django/django/pull/8238. It is an offshoot of #27332.
Back to Top