template.html
このコードをdjangoに入れた場合
<p>{% if some_custom_template %} {%some_custom_template%} {% else %} nothing {% endif %}</p>
some_custom_template
2回実行されますか?またはsome_custom_template
結果はバッファリングされますか?
が 2 回実行された場合、最初の結果をテンプレート変数some_custom_template
に保存するにはどうすればよいですか?