Add order images model and test this model

This commit is contained in:
2022-09-30 02:36:44 +03:00
parent 2c3445c889
commit 2a1fa6ce5e
7 changed files with 38 additions and 5 deletions

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>