Changes between Initial Version and Version 1 of Ticket #37218, comment 4


Ignore:
Timestamp:
Jul 16, 2026, 9:58:00 AM (114 minutes ago)
Author:
Jacob Walls

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37218, comment 4

    initial v1  
    1 I was aware of that limitation, and the prescription to use `select_related()` to avoid deferred queries, but as the spiritual successor to `select_related()`, I guess I assumed an analogous afetch_peers mode would have a way to swap in `aprefetch_related_objects` in place of `prefetch_related_objects`, but looking at that stacktrace, we have that pesky `__get__()` right there at the top, so, ack--of course not! Thanks for confirming.
     1I was aware of that limitation, and the prescription to use `select_related()` to avoid deferred queries, but as the spiritual successor to `select_related()` when laziness is wanted, I guess I assumed an analogous afetch_peers mode would have a way to swap in `aprefetch_related_objects` in place of `prefetch_related_objects`, but looking at that stacktrace, we have that pesky `__get__()` right there at the top, so, ack--of course not! Thanks for confirming.
    22
    33I'll have a look around to see if there's a sentence or two we should add about this.
Back to Top