Can a django model have two abstract classes?
问题 I have this models: class BillHeader(models.Model): billno = models.IntegerField(primary_key=True, blank=True) class BillData(models.Model): price = models.DecimalField(_('Price'), max_digits=12, decimal_places=2) amount = models.DecimalField(_('Amount'), max_digits=6, decimal_places=2) [... rest of the model ...] class Meta: abstract = True class BillFooter(models.Model): total = models.DecimalField(_('Total'), max_digits=12, decimal_places=2) [... rest of the model ...] class Meta: abstract