Re: Use Model Objects as Fields in Another Model

2021-08-03 Thread rcdo...@gmail.com
i think this concerns Foreign key, and database relationships On Tuesday, August 3, 2021 at 4:26:42 AM UTC+8 forest@gmail.com wrote: > Hi, > > I would like to use the objects from a model as fields in another model. > ie. I have a model for items on a food menu, and I have another model for

Use Model Objects as Fields in Another Model

2021-08-02 Thread Forest Zhou
Hi, I would like to use the objects from a model as fields in another model. ie. I have a model for items on a food menu, and I have another model for orders, which contains a field for each item on the menu indicting the quantity ordered. Thanks -- You received this message because you are