title: django pagination: How to get number of page by id of element in the list
body: <p>I use <a href="http://code.google.com/p/django-pagination/" rel="nofollow noreferrer">django-paginaton</a> app and I'm very glad to use it. Now I need feature, that I don't know how to implement. I have list of elements, that paginated by django's paginator. I have one element with specified id, that I should show, but I don't know what page contains it. I need mechanism jump to the page, that contains my element. </p>
  
  <p>I think it's a good idea if django-pagination will support this transparently and automatically. For example, I set special context variable <code>page_by_id</code> to X and if <code>page</code> is None, it will be defined to the value, that contains my X element. </p>
  
  <p>What do you think about this mechanism?
  May be there is another clean way to do this?</p>
  
  <p>This is for continue of this questions:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/747648/django-pagination-and-current-page">Django pagination and &quot;current page&quot;</a></li>
  <li><a href="https://stackoverflow.com/questions/858316/django-pagination-redirecting-to-the-page-an-object-is-on">Django Pagination - Redirecting to the page an object is on</a></li>
  </ul>