def cart_modificate(request, product_id):
if request.method =='POST':
increment = request.POST.get('increment')
... # для остальных полей по аналогии + добавить условие
<form action="{% url 'cart:cart_modificate' product.id %}" method="post">
{% csrf_token %}
<input type="submit" value="increment" />
<input type="submit" value="decrement" />
</form>
def cart_modificate(request, product_id):
if 'increment' in request.POST:
# do something
else:
# do something else