          return self.name
  
  
  class Wholesaler(Supplier):
      retailer = models.ForeignKey(Supplier, related_name='wholesale_supplier')
  
  
  class Parent(models.Model):
      created = models.DateTimeField(default=datetime.datetime.now)
  
 
</s> remove             parent = models.ForeignKey(Parent)
 </s> add             parent = models.ForeignKey(Parent, models.CASCADE) </s> remove     item = models.ForeignKey(Item)
 </s> add     item = models.ForeignKey(Item, models.CASCADE) </s> remove     item = models.ForeignKey(SimpleItem)
 </s> add     item = models.ForeignKey(SimpleItem, models.CASCADE) </s> remove     media = models.OneToOneField(Media, primary_key=True, parent_link=True)
 </s> add     media = models.OneToOneField(Media, models.CASCADE, primary_key=True, parent_link=True) </s> remove     content_type = models.ForeignKey(ContentType)
 </s> add     content_type = models.ForeignKey(ContentType, models.CASCADE)
    retailer = models.ForeignKey(Supplier, models.CASCADE, related_name='wholesale_supplier')
          return self.name
  
  
  class Wholesaler(Supplier):
    retailer = models.ForeignKey(Supplier, models.CASCADE, related_name='wholesale_supplier')
  
  
  class Parent(models.Model):
      created = models.DateTimeField(default=datetime.datetime.now)
  
keep keep keep keep replace keep keep keep keep keep
 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 
tests/model_inheritance_regress/models.py