You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
How can I iterate at the same time the values and the display strings for a choice?
I tried this and some other options, but I can't figure it out.
{% for choice in multifield %}
{{choice }} -- {{ choice.get_display }}.
{% endfor %}
any help is appreciated. thanks!
The text was updated successfully, but these errors were encountered:
Hey @goinnn could you give some love to this issue? Maybe we can add another method like get_FOO_display to class so it returns the list of key-value as proposed here? I'd be happy to provide a PR with the functionality if you like.
Hello,
How can I iterate at the same time the values and the display strings for a choice?
I tried this and some other options, but I can't figure it out.
any help is appreciated. thanks!
The text was updated successfully, but these errors were encountered: