阅读背景:

如何在Django中使用 标记表单字段

来源:互联网 

I wasn't able to find a way to identify the type of a field in a django template. My solution was to create a simple filter to access the field and widget class names. I've included the code below in case it's helpful for someone else.I wasn't able to find a way to identify the typ




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

分享到: