Hi, I am trying to generate a table with the for loop in Django. In the table, I need to use the counters of the outer and inner loops.
The table should be like this:
vA=0 vA=1 vA=2 …
vB=0 xx xx xx …
vB=1 xx xx xx …
…
I checked “forloop.parentloop” and it doesn’t exist in the documentation. I would be grateful if someone could suggest how to do it. Thanks in advance!
Sometimes the search doesn’t give the results properly.
I tend to look at the specific reference pages, when i’m searching for something, using terms like: