Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于给定的字段,是否可以最初选中所有框,但只有一个?
目前我正在使用:widget=forms.CheckboxSelectMultiple({'checked':'checked'})最初检查所有复选框。有没有办法为每个复选框单独设置这个?
widget=forms.CheckboxSelectMultiple({'checked':'checked'})