Changes between Initial Version and Version 1 of Ticket #33596, comment 2
- Timestamp:
- Mar 24, 2022, 9:36:31 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33596, comment 2
initial v1 18 18 }}} 19 19 20 Since it's not obvious if `to_attr` should be cleared or not on a prefetched relationship change and we've default ing 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:20 Since 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`: 21 21 22 22 {{{#!diff