Home > other >  Django development a one-to-many relationship, why to get the data only one
Django development a one-to-many relationship, why to get the data only one

Time:11-26

Shops and products is a one-to-many relationship, the user and store is a one-to-one relationship, if I insert a goods in the shops, id is 1, then insert a commodity, id is 2, then I get the data, can only get id of 2 data, why not get id is 1 and 2 data,
Bosses look it, please
  • Related