Changes between Initial Version and Version 1 of Ticket #28422, comment 5
- Timestamp:
- Jul 21, 2017, 10:38:55 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28422, comment 5
initial v1 1 1 I 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. 2 2 3 This does seem like this could be done if https://github.com/django/django/pull/8238 was merged, whichis an offshoot of #27332.3 It 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.