fix(products): correct URL name for kit detail in category list template

Changed 'products:kit-detail' to 'products:productkit-detail' in category_list.html
to fix NoReverseMatch error when rendering category tree with kits.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-23 23:53:49 +03:00
parent 87f6484258
commit 5070913346

View File

@@ -65,7 +65,7 @@
{% elif item.item_type == 'kit' %} {% elif item.item_type == 'kit' %}
<span style="display: inline-block; width: 24px; margin-right: 8px;"></span> <span style="display: inline-block; width: 24px; margin-right: 8px;"></span>
<a href="{% url 'products:kit-detail' item.pk %}" <a href="{% url 'products:productkit-detail' item.pk %}"
style="color: #6c757d;">{{ item.name }}</a> style="color: #6c757d;">{{ item.name }}</a>
{% endif %} {% endif %}
</td> </td>