I have a list of members, which is obtained in this way:
members = Organization.get_members(org1) where Organization is a class, get_members() its field. It all works.
Now I need to display the names of all users in the members list and automatically assign them a number from 0 to (the number of users in the list is 1), so that 0 matches members[0].full_name ; 1 - members[1].full_name .
Ie should get a sign:
Asignee: 0-Roman, 1-Serg, 2-Anton … and so on, where the names are members[index].full_name , and the index value must match the number before the hyphen.