I do online store on django. I do not understand how to implement the add button in the basket. Let's say there is a product model. And the model of the basket where the ordered goods are stored. The page displays phone models in the following way:
<div class="modelList"> {% for model in model_list %} <div class="model"> <div class="modelImage"> <img src="{% static 'images/model.jpg' %}"> </div> <div class="discription"> <div class="modelName">{{ model.name}}</div> <div class="modelDiscription"> {{ model.description}} </div> </div> <div class="actions"> <div class="colors"> </div> <div class="price">{{ model.price }} р.</div> <button>Добавить в корзину</button> </div> </div> {% endfor %} </div> How to make the button when you send sent the goods to Corinna?