Changes between Version 1 and Version 2 of Ticket #21760, comment 11


Ignore:
Timestamp:
Apr 10, 2014, 12:53:54 AM (11 years ago)
Author:
loic84

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21760, comment 11

    v1 v2  
    11We discussed this issue with @akaariai on IRC.
    22
    3 Like we did for #21410, we'll take a practical approach for fixing the regression from Django 1.6 to master and go for the proposed fix. It's worth noting that the inefficient query will still be present for multicolumn relations, but these are not documented and one needs to use private APIs to make them, so that doesn't qualify as a regression.
     3Like we did for #21410, we'll take a practical approach for fixing the regression from Django 1.6 to master and go for the proposed fix. It's worth noting that the inefficient query will still be present for multicolumn relations, but these are not documented and one needs to use private APIs to make them, also these have never seen the "joinless" query, so that doesn't qualify as a regression.
    44
    55The implementation of `ReverseSingleRelatedObjectDescriptor.get_prefetch_queryset()` really ought to be cleaned up at some point, especially when we land the patch for composite fields but it'll require a fair amount of refactoring so it only qualifies for master.
Back to Top