3
こんにちは、私は非常に基本的な質問があります。それは動作しませんテンプレートに辞書の値を表示
def view1:
dict = ('one':'itemone','two':'itemtwo','three','itemthree')
return render_to_response('test.html',dict)
test.htmlという
<body>
{% for key,value in dict.items %}{{ value }}{% endfor %}
</body>
: は、私は以下のような見解を持っています。誰でもテンプレート内の辞書値を繰り返す正しい方法を提案できますか?前もって感謝します。もう一度私の基本的な質問には申し訳ありません。