Как получить доступ к стойке внешней петли
You can use "forloop.parentloop" to get to the outer forloop,
so in your case "{{forloop.parentloop.counter}}".
Markhor
You can use "forloop.parentloop" to get to the outer forloop,
so in your case "{{forloop.parentloop.counter}}".