Initialize base class with data from derived class with django Model

后端 未结 0 1360
执笔经年
执笔经年 2020-12-09 00:40

Is there any way to inherit a django model and initialize a base class field with data in the derived class, like this :

class InitialModel(models.Model):
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题