<p>If you use <code>iterator()</code> on a Django queryset, <code>prefetch_related()</code> calls will be ignored since these two optimizations do not make sense together (from "QuerySet API reference" section of Django docs)</p>
By clicking “Accept all”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage and assist in our marketing efforts. Check our privacy policies.