3 ms·
I currently have a project with Django and you made me look this up because I remembered it differently. And yes, there is in fact a cache layer between the Que
by josalhor 6y ago
I currently have a project with Django and you made me look this up because I remembered it differently. And yes, there is in fact a cache layer between the QuerySet (.all) and the iteration.
See: https://docs.djangoproject.com/en/3.1/topics/db/queries/#caching-and-querysets https://docs.djangoproject.com/en/3.1/topics/db/queries/#cac...