擅长:python、mysql、java
<p>你可以:</p>
<pre><code>{% for form_field in add_gateway_details_form %}
{{ form_field }}
{% endfor %}
</code></pre>
<p>您还可以访问如下字段:</p>
<pre><code>{{ add_gateway_details_form.gateway_name }}
</code></pre>
<p>有关表单和模板的<a href="https://docs.djangoproject.com/en/dev/topics/forms/#displaying-a-form-using-a-template" rel="nofollow">the documentation</a>中对此进行了详细说明。</p>