Django Book 翻译
菜单>:
TOC
返回
原文:
While its convenient to have our forms HTML generated for us, in many cases the default rendering wont be right for our application. ``{{ form.as_table }}`` and friends are useful shortcuts while we develop our application, but everything about the way a form is displayed can be overridden, mostly within the template itself.
翻译:
虽然我们可以方便地使用form来生成HTML,可是默认的渲染在多数情况下满足不了我们的应用。{{form.as_table}}和其它的方法在开发的时候是一个快捷的方式,form的显示方式也可以在form中被方便地重写。
备注:
译者: