- {% for photo in product.productphoto_set.all %}
-
-
-
-
-
-
- {% endfor %}
+
+ {% for photo in product.productphoto_set.all %}
+
+
+
+
+
+
+ {% endfor %}
diff --git a/dashboard/templates/dashboard/product/list.html b/dashboard/templates/dashboard/product/list.html
index 0f6081b..7f42180 100644
--- a/dashboard/templates/dashboard/product/list.html
+++ b/dashboard/templates/dashboard/product/list.html
@@ -3,6 +3,11 @@
{% block head_title %}Products | {% endblock %}
+{% block head %}
+
+
+{% endblock %}
+
{% block content %}
{% endif %}
+{% url 'dashboard:update-sorting' as sorting_url %}
+{{ sorting_url|json_script:"sorting-url" }}
+