title: Django E-Commerce: cart item Iterations not pushed to db
body: <p>I have the following model in my orders app:</p>
  <pre><code>class Order(models.Model):  
      # customer info
      first_name = models.CharField(max_length=50)
      last_name = models.CharField(max_length=50)
  class OrderItem(models.Model):
      order = models.ForeignKey(Order, related_name='items', on_delete=models.CASCADE)
      product = models.ForeignKey(Product, related_name='order_items', on_delete=models.CASCADE)
      price = models.DecimalField(max_digits=5, decimal_places=2)
      quantity = models.PositiveIntegerField(default=1)
  </code></pre>
  <p>I have the following create_order view:</p>
  <pre><code>def create_order(request):
      cart = Cart(request)
      if request.method == 'POST':
          form = CreateNewOrderForm(request.POST)
          if form.is_valid():
              order = form.save()
  
              for item in cart:
                  OrderItem.objects.create(order=order, product=item['product'], price=item['price'], quantity=item['quantity'])
                  cart.clear()
       else:
           form = CreateNewOrderForm()
  </code></pre>
  <p><strong>PROBLEM</strong></p>
  <p>On creating a new order, if my cart contained multiple products, I can only see 1 (the first) product in my OrderItem.</p>
  <p>Any advice on how to rectify this?
  or
  on where to look?</p>