具体看QIMI老师博客 https://www.cnblogs.com/liwenzhou/p/8747872.html
示例代码
Django form组件
原文:https://www.cnblogs.com/Ge-Zsj/p/12296490.html