products1 Product objects filter category category1 products for in pr

1
2
3
4
products1 = Product.objects.filter(category=category1)
products = []
for i in products1:
products.extend(i)