title: how to do pagination using mongoengine?
body: <p>i have a question about pagination using mongodb and mongoengine.
  i have a table which will have millions of records in future. and i am doing paging like this.</p>
  
  <p>well i am not sure this is correct approach </p>
  
  <pre><code>    list = Books.objects.all()
      paginator = DiggPaginator(list, 20, body = 10, tail = 2)
  </code></pre>
  
  <p>here i open whole table and then do the pagination and we on for next page again above code runs and brings the 2nd or any page.</p>
  
  <p>is this correct approach or there are any better ways to do this.</p>