  
  # Models for #19425
  class BinaryTree(models.Model):
      name = models.CharField(max_length=100)
      parent = models.ForeignKey('self', null=True, blank=True)
  
  # Models for #19524
  
  
  class LifeForm(models.Model):
 
</s> remove     et = models.ForeignKey(ExtraTerrestrial)
 </s> add     et = models.ForeignKey(ExtraTerrestrial, models.CASCADE) </s> remove     capo_famiglia = models.ForeignKey(CapoFamiglia)
 </s> add     capo_famiglia = models.ForeignKey(CapoFamiglia, models.CASCADE) </s> remove     book = models.ForeignKey(BookWithYear)
 </s> add     book = models.ForeignKey(BookWithYear, models.CASCADE) </s> remove     fashionista = models.ForeignKey(Fashionista)
    item = models.ForeignKey(OutfitItem)
 </s> add     fashionista = models.ForeignKey(Fashionista, models.CASCADE)
    item = models.ForeignKey(OutfitItem, models.CASCADE) </s> remove     holder = models.ForeignKey(Holder3)
 </s> add     holder = models.ForeignKey(Holder3, models.CASCADE)
    parent = models.ForeignKey('self', models.SET_NULL, null=True, blank=True)
  
  # Models for #19425
  class BinaryTree(models.Model):
      name = models.CharField(max_length=100)
    parent = models.ForeignKey('self', models.SET_NULL, null=True, blank=True)
  
  # Models for #19524
  
  
  class LifeForm(models.Model):
keep keep keep keep replace keep keep keep keep keep
 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 
tests/admin_inlines/models.py