'How to use the for range loop in django admin?

I need something like forloop.counter in templates. Is this possible?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source