diff --git a/myproject/customers/templates/customers/customer_list.html b/myproject/customers/templates/customers/customer_list.html
index 35cc1fe..8f7bcb8 100644
--- a/myproject/customers/templates/customers/customer_list.html
+++ b/myproject/customers/templates/customers/customer_list.html
@@ -153,9 +153,22 @@
{% endif %}
-
- {{ page_obj.number }} / {{ page_obj.paginator.num_pages }}
-
+ {# Цифры страниц: показываем до 10 страниц #}
+ {% with start_page=page_obj.number|add:"-5" end_page=page_obj.number|add:"5" %}
+ {% for num in page_obj.paginator.page_range %}
+ {% if num >= start_page|default:1 and num <= end_page and num <= page_obj.paginator.num_pages %}
+ {% if num == page_obj.number %}
+
+ {{ num }}
+
+ {% else %}
+
+ {{ num }}
+
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+ {% endwith %}
{% if page_obj.has_next %}