阅读背景:

使用type()方法创建具有django内部Meta类的类

来源:互联网 

I'm working on function (in Django 1.4, python 2.7.2+) that generates the Form for specified Model and returns it. I've got trouble using type() method with 3 arguments, because I want to specify Form's inner Meta class. Django documentation gives an example of auto-generated Form for Model:I'm working on function (in Django 1.4, python




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

分享到: