Excluding the Data of Child Class Model From The Super Class Model in Django

前端 未结 0 1819
盖世英雄少女心
盖世英雄少女心 2021-02-12 14:03

I have some models like this:

class Super(models.Model):
    attr1 = ...
    attr2 = ...


class Child(Super):
    child_attr1 = ...
    child_attr2 = ...



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