1👍
You use .get_fieldname_display(…)
[Django-doc], so if the model field is chosen
, then it is get_chosen_display
:
{{ data.get_chosen_display }}
Source:stackexchange.com
1👍
You use .get_fieldname_display(…)
[Django-doc], so if the model field is chosen
, then it is get_chosen_display
:
{{ data.get_chosen_display }}