把代码过程中比较常用的代码段珍藏起来,如下代码段是关于django获取多个checkbox复选框post的数组数据的代码,希望能对小伙伴有用处。

<input type="checkbox" name="chk" value="1">
<input type="checkbox" name="chk"  value="1">
<input type="checkbox" name="chk"  value="1">
<input type="checkbox" name="chk"  value="1">