How can I filter only by parent category id. If I am using if category.id == 1 content elif category.id == 2 then it showing both id\'s content. Ho
if category.id == 1
elif category.id == 2