{% extends 'base/base.html' %} {% load static %} {% load render_partial %} {% block contents %}

لیست محصولات


{% for product in page_obj %} {% include 'product_item_component.html' with product=product %} {% endfor %}
    {% if page_obj.has_previous %}
  • قبلی
  • {% endif %} {% for page in paginator.page_range %} {% if page == page_obj.number %}
  • {{ page }}
  • {% else %}
  • {{ page }}
  • {% endif %} {% endfor %} {% if page_obj.has_next %}
  • بعدی
  • {% endif %}
{% endblock %}