title: Django filters with pagination not keeping state
body: <p>In my django project I am using django filters and pagination. When I click the next link to go to the next page, I lose my state. i have tried some ideas from <a href="https://stackoverflow.com/questions/2047622/how-to-paginate-django-with-other-get-variables">here</a> but nothing has done the trick yet. Any ideas on why this happens?</p>
  
  <h1>html</h1>
  
  <pre><code>&lt;div class="col-xs-4  clearfix text-center"&gt;
              {% if relations.has_next %}
              &lt;div class="pull-right"&gt;
                  &lt;a href="?page={{ relations.next_page_number }}{% if createdBy %}&amp;createdBy={{ createdBy }}{% endif %}{% if project %}&amp;project={{ project }}{% endif %}{% if createdBefore %}&amp;createdBefore={{ createdBefore }}{% endif %}}"&gt;Next &amp;raquo;&lt;/a&gt;
              &lt;/div&gt;
              {% endif %}
          &lt;/div&gt;
  </code></pre>
  
  <h1>View</h1>
  
  <pre><code>def relations(request):
      from annotations.filters import RelationSetFilter
  
      qs = RelationSet.objects.all()
      filtered = RelationSetFilter(request.GET, queryset=qs)
      qs = filtered.qs
      for r in qs:
          print r.__dict__
  
      paginator = Paginator(qs, 20)
      page = request.GET.get('page')
  
  
  
      try:
          relations = paginator.page(page)
      except PageNotAnInteger:
          # If page is not an integer, deliver first page.
          relations = paginator.page(1)
      except EmptyPage:
          # If page is out of range (e.g. 9999), deliver last page of results.
          relations = paginator.page(paginator.num_pages)
  
      context = {
          'paginator': paginator,
          'relations': relations,
          'params': request.GET.urlencode(),
          'filter': filtered,
      return render(request, 'annotations/relations.html', context)
  </code></pre>
  
  <h1>Urls</h1>
  
  <p>Url when filters are applied:</p>
  
  <pre><code>/relations/?createdBy=&amp;occursIn=&amp;createdAfter=&amp;createdBefore=&amp;terminal_nodes=&amp;project=1
  </code></pre>
  
  <p>Url when I switch page:</p>
  
  <pre><code>/relations/?page=2
  </code></pre>