Убраны лишние sql-запросы
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<form action="" method="post">
|
||||
<select name="seller">
|
||||
{% for item in sellers %}
|
||||
<option value="{{ item['name'] }}">{{ item['name'] }}</option>
|
||||
<option value="{{ item }}">{{ item }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<p>Выберите год:</p>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<p>Выберите материал<p></p>
|
||||
<select name="material">
|
||||
{% for item in materials %}
|
||||
<option value="{{ item['material'] }}">{{ item['material'] }}</option>
|
||||
<option value="{{ item }}">{{ item }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<input type="submit" value="Отправить">
|
||||
|
||||
Reference in New Issue
Block a user