In a FilterView, how can I keep track of "selected" items when paginating

I'm learning Django. I'd like to display a list of products, select some and send them to be processed by a method (that will generate pdf price tags for each of them). I want to be able to browse the list and filter it. The selected products, should be "extracted" of the main list and appear in another list.

So far I'm able to filter and paginate. For the selecting par thought I'm kind of stuck. I use checkbox to select the products. The problem is that every time I modify a filter, all the checkboxes are reset.

I'm using a FilterView. In my template, the filters buttons are just links with "href=" containing the values for the filters as url parameters. The view take parameters via request.GET.get in the get_context_data method I suppose I could add a filter button that would add the product pk as a url parameter, but it doesn't sound very clean to me.

What would be the most djangoic way to achieve this?

Back to Top