Changes between Initial Version and Version 2 of Ticket #28723


Ignore:
Timestamp:
10/18/17 20:41:59 (5 years ago)
Author:
Mike Hansen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28723

    • Property Has patch set
  • Ticket #28723 – Description

    initial v2  
    66BookWithYear.objects.prefetch_related('bookreview_set')
    77}}}
    8 will use a `through_attr` of `bookreview_set`, but `bookreview` is what will be placed in `_prefetched_objects_cache`.
     8will use a `through_attr` of `"bookreview_set"`, but `"bookreview"` is what will be placed in `_prefetched_objects_cache`.
    99
    1010I think `related_manager.field.remote_field.get_accessor_name()` should be used instead.
Back to Top