title: How do I add to cart more than one of the same item in the serializer (post)?
body: <p>I'm trying to make this app where I can select the items I want to buy. I want to add two cakes to the cart, for example, but so far I can't select more than one. How do I do that? The field I need to change is 'food' since this one has options like 'cake', 'pastries', etc. I want the user to be able to add as many of each item as they want. I tried with many=True but something is not working out.</p>
  <p>This is the serializer so far:</p>
  <pre><code>class OrderSerializer(serializers.ModelSerializer):
       
      class Meta:
          model = Order
          fields = '__all__'
  
  
  class FoodSerializer(serializers.ModelSerializer):
  
      class Meta:
          model = Food
          fields = '__all__'  
  </code></pre>
  <p>This is the model:</p>
  <pre><code>class Food(models.Model):
      name = models.CharField(max_length=100, unique=True)
  
      def __str__(self):
          return self.name
  
  class Order(models.Model):
      food = models.ManyToManyField('Food', related_name='order', blank=True)
  
      def __str__(self):
          return self.food
  </code></pre>