[Django]-How to use Django paginator in a query-performance purpose?

4👍

No, Paginator doesn’t load all objects to memory. If you pass a queryset to Paginator then it uses .count() to get number of objects.

Leave a comment