Add order images model and test this model

This commit is contained in:
VladislavOstapov committed 2022-09-30 02:37:30 +03:00
1 parent 2c3445c889
commit 2a1fa6ce5e
7 files changed
+38 -5

No files matched your search

+6
View File
@@ -21,6 +21,12 @@
{% block content %}
<h1 class=deprecated-page-header"> Заказ {{ order.name }} </h1>
<div class="field-wrapper">
{% for i in images %}
<img src="{{ i.image.url }}" alt="image-{{ i.id }}">
{% endfor %}
</div>
<div class="field-wrapper">
<span>Описание:</span>
<p>{{ order.description }}</p>