gives me all items (Many-to-Many relationship)
                  
                  
                  
                  
                  
                  If I have a list of Shops (assume shops = Shop.objects.all()), can I combine all results of shops[0].items.all(), shops[1].items.all()?
                  
                  
                  
                  
                  
                  Looping doesn't look like a good solution.. is there a better way?
                  
                  
                
there's generally two solutions for such things
Обсуждают сегодня