      name = models.CharField(max_length=100)
  
  
  class Sighting(models.Model):
      et = models.ForeignKey(ExtraTerrestrial)
      place = models.CharField(max_length=100)
  
  
  # Models for #18263
  class SomeParentModel(models.Model):
 
</s> remove     parent = models.ForeignKey('self', null=True, blank=True)
 </s> add     parent = models.ForeignKey('self', models.SET_NULL, null=True, blank=True) </s> remove     collection = models.ForeignKey(TitleCollection, blank=True, null=True)
 </s> add     collection = models.ForeignKey(TitleCollection, models.SET_NULL, blank=True, null=True) </s> remove     capo_famiglia = models.ForeignKey(CapoFamiglia)
 </s> add     capo_famiglia = models.ForeignKey(CapoFamiglia, models.CASCADE) </s> remove     holder = models.ForeignKey(Holder3)
 </s> add     holder = models.ForeignKey(Holder3, models.CASCADE) </s> remove     work_at = models.ForeignKey(Restaurant)
 </s> add     work_at = models.ForeignKey(Restaurant, models.CASCADE)
    et = models.ForeignKey(ExtraTerrestrial, models.CASCADE)
      name = models.CharField(max_length=100)
  
  
  class Sighting(models.Model):
    et = models.ForeignKey(ExtraTerrestrial, models.CASCADE)
      place = models.CharField(max_length=100)
  
  
  # Models for #18263
  class SomeParentModel(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