Any one know how to get the Select Widget choices in a template.
I have done theses. I am overriding admin templates and I could just change the admin form code but I don’t want to for app integrity purposes.
{{field.choices}}
Yields nothing.
{%for i in field%}{{i.choices}}{%endfor%}
Yeilds ()
I need to access this var from the template.
I want to change the select field into radios.
If
fieldis aBoundField,should get you the choices iterable.