Answer the question
In order to leave comments, you need to log in
Pass value from template to view?
There is a template and it contains select
<h1>Наименование автомобиля</h1>
<select name="pets" id="pet-select">
<option value="">Выберите модель авто</option>
{% for j in num_categoryyy %}
<option>{{ j }}</option>
{% endfor %}
</select>
def index(request):
if 'В397ВУ09 Газель NEXT' == val1.Наименование:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question