how to name numerous dynamic input fields for post method - Django
问题 In my online shop, I fetch all of the products and services from two different apps and list them for the user to make his wishlist. Each product or service is displayed in a bootstrap card that contains an input field for the count of products. #views.py def my_products(request): ip_sensor = Ip_sensor.objects.all().order_by('title') control_valves = ControlValves.objects.all().order_by('title') context = { 'ip_sensor': ip_sensor, 'control_valves': control_valves, } return render(request,