阅读背景:

在django中从父类中的对象查找子类中的对象

来源:互联网 

Let's say I have a parent class (ThingsThatMigrate) and two children (Coconut and Swallow). Now let's say I have a ThingsThatMigrate object. How can I determine if it is in fact a Coconut or a Swallow? Once having done so, how can I get to the Coconut or Swallow object?Let's say I have a parent class (ThingsThatMigr




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

分享到: