阅读背景:

如何在不知道子类名称的情况下访问django中对象的子类?

来源:互联网 

In Django, when you have a parent class and multiple child classes that inherit from it you would normally access a child through parentclass.childclass1_set or parentclass.childclass2_set, but what if I don't know the name of the specific child class I want?In Django, when you have a parent class and mul




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

分享到: