[Fixed]-Django form and many2many.through field

1👍

[EDIT]: Deleted previous answer as it was a copy error.

At this stage you’re not handling an order. You’re providing a catalog with products that when submitted generate an order. So base your form off of Items, give the checkbox and quantity input a name that can be linked to the item (incorporate the item’s primary key) and then generate the order upon submission.

Leave a comment