[Django]-Django paginate the original search result

0👍

you are missing query string with all your form data

simplest solution will be to use django-url-tools, then in the links for the previous/next page you will add:

{% load urls %}

...

{% add_params request.get_full_path page=page_obj.previous_page_number %}

...

{% add_params request.get_full_path page=page_obj.next_page_number %}
👤Jerzyk

Leave a comment