📜  样式过滤器表单 django - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:50.425000             🧑  作者: Mango

代码示例1
name = forms.CharField(widget=forms.TextInput(attrs={'class':'form-control text-white text-center',max_length="100"}))