  
  
  class Whatsit(models.Model):
      index = models.IntegerField(primary_key=True)
      owner = models.ForeignKey(Collector)
      name = models.CharField(max_length=100)
  
  
  class Doodad(models.Model):
      name = models.CharField(max_length=100)
 
</s> remove     owner = models.ForeignKey(Collector)
 </s> add     owner = models.ForeignKey(Collector, models.CASCADE) </s> remove     owner = models.ForeignKey(Collector)
 </s> add     owner = models.ForeignKey(Collector, models.CASCADE) </s> remove     owner = models.ForeignKey(Collector)
 </s> add     owner = models.ForeignKey(Collector, models.CASCADE) </s> remove     owner = models.ForeignKey(Collector)
 </s> add     owner = models.ForeignKey(Collector, models.CASCADE) </s> remove     et = models.ForeignKey(ExtraTerrestrial)
 </s> add     et = models.ForeignKey(ExtraTerrestrial, models.CASCADE)
    owner = models.ForeignKey(Collector, models.CASCADE)
  
  
  class Whatsit(models.Model):
      index = models.IntegerField(primary_key=True)
    owner = models.ForeignKey(Collector, models.CASCADE)
      name = models.CharField(max_length=100)
  
  
  class Doodad(models.Model):
      name = models.CharField(max_length=100)
keep keep keep keep replace keep keep keep keep keep
 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 
tests/admin_views/models.py