How to pass HTML to an included template
问题 Using Djangos template language I would like to pass HTML generated through the template language into an included template like in the following simplified example: field.html <input name="input_name" /> <div>{{ input_desc_html }}</div> form.html {% with input_name="test" input_desc_html=... %} ... should read {% for this in that %} {{ this }} {% endfor %} {% include 'field.html' %} {% endwith %} Obvioulsy there is something missing at ... and I do not know how to advance from here. Is this