如何使用模态框提交form表单中的数据
django框架通过name属性寻找组件,所以,必须为input组件指定name属性。否则,提交后会显示NO POST DATA。
引用:How to POST the data from a modal form of bootstrap?