hi all,
I’m creating a DB and I have a table with products and a table with clients
products
product 1
product 2
product 3
client 1
client 2
client 3
if a client buy much more than one product how can struct the db in order to associate product1 and product2 to client1 and product1 and product3 to client2 and so on
obviously I wrote just 3product and 3 clients but they can be much more. I don’t know how to struct db in order to associate products to much more than one client
maybe I’m confusing using models.ForeignKey
many thank in advance