          return self.name
  
  
  class Feature(models.Model):
      item = models.ForeignKey(SimpleItem)
  
  
  class SpecialFeature(models.Model):
      feature = models.ForeignKey(Feature)
  
 
</s> remove     feature = models.ForeignKey(Feature)
 </s> add     feature = models.ForeignKey(Feature, models.CASCADE) </s> remove     item = models.OneToOneField(Item, related_name="one_to_one_item")
 </s> add     item = models.OneToOneField(Item, models.CASCADE, related_name="one_to_one_item") </s> remove     item = models.ForeignKey(Item)
 </s> add     item = models.ForeignKey(Item, models.CASCADE) </s> remove     item = models.ForeignKey(Item)
    simple = models.ForeignKey(SimpleItem)
 </s> add     item = models.ForeignKey(Item, models.CASCADE)
    simple = models.ForeignKey(SimpleItem, models.CASCADE) </s> remove     item = models.ForeignKey(Item)
 </s> add     item = models.ForeignKey(Item, models.CASCADE)
    item = models.ForeignKey(SimpleItem, models.CASCADE)
          return self.name
  
  
  class Feature(models.Model):
    item = models.ForeignKey(SimpleItem, models.CASCADE)
  
  
  class SpecialFeature(models.Model):
      feature = models.ForeignKey(Feature)
  
keep keep keep keep replace keep keep keep keep keep
 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 
tests/defer_regress/models.py