Answer the question
In order to leave comments, you need to log in
Django How to make default Get requests?
There are 2 Get requests to filter the product (see picture)
<form class ="form for_change_items" method="get" name="for_change_items" >
<div class="form-check" >
<input class="form-check-input" type="radio" name="change_items" id="2_items" value="2_items" onClick="for_change_items.submit()" >
<label class="form-check-label" for="2_items">
<img class="img_right_menu" src="../../../static/img/2_items.jpg" alt ="Профиль">
</label>
<input class="form-check-input" type="radio" name="change_items" id="many_items" value="many_items" onClick="for_change_items.submit()" >
<label class="form-check-label" for="many_items">
<img class="img_right_menu" src="../../../static/img/many_items.jpg" alt ="Профиль">
</label>
</div>
</form>
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