title: How can I fix the paginator and the filter problem for Django?
body: <p>To simply explain, I have a model product with columns:</p>
  <pre><code>(Product model):
  name
  type
  
  (Order model):
  order
  price
  quantity
  </code></pre>
  <p>I am using the django built-in Paginator and the django-filter.
  The paginator works so well and it really filters the items but the problem is, when the paginator is involved, the &quot;Next&quot; or &quot;Previous&quot; button I created will not work well to see the filtered items on the next or previous page because it reloads the whole template and the filter form will be erased.</p>
  <p>Example:
  I have mouse and keyboard as &quot;choices&quot; on the &quot;Type&quot; column of the product. I have 25 mice, and the paginator divides it by 10. I can filter the items and shows 3 pages for the mice but when I turn to the next page, the keyboard items will show because the filter form is reset. Any help or suggestion will be appreciated. I need to hear any thoughts for this.</p>