Can I access specific key values in dictionary from django template?

后端 未结 6 1416
独厮守ぢ
独厮守ぢ 2021-01-05 16:20

Is there any get() function for this instead?

{% for key, value in choices.items %} 
  
  • {{key}} - {{value}}
  • {% endfor %}
    <
    6条回答
    提交回复
    热议问题