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 > orders, which contains a field for each item on the menu indicting the > quantity ordered. > > Thanks > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9789b53d-660f-44a0-98bf-5d555f9a6e4cn%40googlegroups.com.