阅读背景:

将css类添加到django中验证错误的字段中

来源:互联网 

I am using Django's modelform and its really good. How can I highlight the actual text box (e.g. border:red ) if there is a validation error associated with it. Basically what i want is to add a class (error) if there is a validation error to a field.I am using Django's modelform and its really go




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

分享到: