django搭建Bootstrap常用问题解决方法

1、进入页面,提示Creating a ModelForm without either the 'fields' attribute or the 'exclude'时解决方法:打开forms.py文件,修改如下:class TestModelForm(forms.ModelForm): clas...
posted @ 2015-09-18 13:05  狂师  阅读(769)  评论(0编辑  收藏  举报