title: Django lazy QuerySet and pagination
body: <p>I read <a href="https://docs.djangoproject.com/en/dev/topics/db/queries/#querysets-are-lazy">here</a> that Django querysets are lazy, it won't be evaluated until it is actually printed. I have made a simple pagination using the django's built-in pagination. I didn't realize there were apps already such as "django-pagination", and "django-endless" which does that job for.</p>
  
  <p>Anyway I wonder whether the QuerySet is still lazy when I for example do this</p>
  
  <pre><code>entries = Entry.objects.filter(...)
  paginator = Paginator(entries, 10)
  output = paginator.page(page)
  return HttpResponse(output)
  </code></pre>
  
  <p>And this part is called every time I want to get whatever page I currently I want to view.</p>
  
  <p>I need to know since I don't want unnecessary load to the database.</p>