diff --git a/myproject/customers/templates/customers/customer_list.html b/myproject/customers/templates/customers/customer_list.html index 8f7bcb8..8b44661 100644 --- a/myproject/customers/templates/customers/customer_list.html +++ b/myproject/customers/templates/customers/customer_list.html @@ -128,19 +128,16 @@ {% if page_obj.has_other_pages %} - {# Сохраняем все GET-параметры кроме page #} - {% with params=request.GET.copy %} - {% if params.page %}{{ params.pop|slice:":0" }}{% endif %} - {% endwith %} {% endif %} {% else %}