阅读背景:

在创建时设置包含关联对象内容的字段

来源:互联网 

I have the model:

我有模特:

class MyClass(models.Model):
    name = models.CharField(max_length=30)
    hash = models.CharField(max_length=64)
    others = models.ManyToManyField(OtherClass, related_name='other_class', through='OtherClassRelation')
class MyClass(model



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

分享到: