[Answer]-How to traverse multiple lists in django using a for loop

1👍

You don’t want to do that. Presumably there is some sort of relationship – ForeignKey, OneToOne, ManyToMany – between those two models? If so, you should iterate through one of them, and follow the relationship to get the related item.

Leave a comment