Add order images model and test this model
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user