Django Pagination, User selected entry amount error
<p>I have a page with a form that a user enters information to help filter a queryset when they press submit. Upon submission, they are brought to a results page that displays this filtered queryset. I have pagination set up with Django as well as an interactive drop down where the user can select how many entries of the queryset they would like to view per page. I got all this working, but the issue that I am having is that to make it work I need a global queryset object. I've run into issues when several threads are using the page at once so I am trying to find alternative options than using a global, but still allowing the interactive dropdown and pagination.</p>

<p>When I try to remove the global and click on the second or another subsequent page, the query seems to get wiped out and I get an error saying a None object cannot be iterated over. Any tips on alternatives I can try that will avoid this error? Thanks!</p>