Django - Paginating in Template using multiple GET parameters
问题 I am using a Django Paginator and I want to have multiple available get parameters, such as: page=1 sort_by=price However, in my template tags I have: Showing items sorted by {{ SORT_PARAM }}. Showing {{ ITEMS_PER_PAGE }} items per page. {% if has_prev %} <a href="?page={{ prev_page }}">Previous</a> | {% endif %} However, this does not preserve the other GET variables. What I mean is, if I'm viewing page/?page=1&sort_by=price and I click the link in the template fragment above, I will go to