Changes between Initial Version and Version 1 of Ticket #33596, comment 2


Ignore:
Timestamp:
Mar 24, 2022, 9:36:31 AM (3 years ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33596, comment 2

    initial v1  
    1818}}}
    1919
    20 Since it's not obvious if `to_attr` should be cleared or not on a prefetched relationship change and we've defaulting to not doing so since the introduction of the feature I'd be inclined to ''wontfix'' this one and declare that it's the user responsibility to clear `to_attr` fetched relationships prior to attempting a second round of `prefetch_related_objects` and do the book keeping themselves:
     20Since it's not obvious if `to_attr` should be cleared or not on a prefetched relationship change and we've defaulted to not doing so since the introduction of the feature I'd be inclined to ''wontfix'' this one and declare that it's the user responsibility to do the book keeping and clear `to_attr` fetched relationships prior to attempting a second round of `prefetch_related_objects`:
    2121
    2222{{{#!diff
Back to Top