阅读背景:

如何为Django模型表单设置默认的小部件属性?

来源:互联网 

I'd like to set the class attribute for the TextInput Widget to one value for all the fields in my form that use it without having to list them all in Meta: widgets = {.... Is this possible?I'd like to set the class attribute for the Tex




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: