title: Django pagination...slicing pages to show fraction of total pages?
body: <p>I have the pagination module working for the most part but there's one issue.  How can I only show a slice of the total available pages.  For example, let's say I'm on page 5 of n pages, I'd want to show. </p>
  
  <p>1,2,3,4,5,6....(n-1)(n).</p>
  
  <p>I believe that Ruby has some fancy front-end magic to accomplish this.  Is there anything that I can do within the django module?</p>
  
  <p>From looking at other sites, it seems as though the logic basically goes, pick a fixed number of spots. If that number is larger than the amount currently display, add items when users page forward.  Once that number of spots is reached, only show x spots to the left and right of the current page. </p>
  
  <p>Should I just write my own template logic to accomplish that?</p>
  
  <p>Thanks</p>