{% for product in products %}
<tr>
    <td>{{ product.name }}</td>
    <td>{{ product.barcode }}</td>
    <td>{{ product.category }}</td>
    <td>{{ product.shelf_life_days }}</td>
    <td>{{ product.promotion }}</td>
    <td>
        <a href="{% url 'product_update' product.id %}">Изменить</a>
        <a href="{% url 'product_delete' product.id %}">Удалить</a>
    </td>
</tr>
{% endfor %}