[Answered ]-How to keep searched word on second results page

2👍

Change your form method to GET instead of POST, then build your links with the search term as part of the URL’s query-string like this…

<a href="?page={{ contacts.previous_page_number }}">previous</a>

https://docs.djangoproject.com/en/dev/topics/pagination/

Leave a comment