      name = models.CharField(max_length=15)
  
  
  class City(models.Model):
      state = models.ForeignKey(State)
  
  
  class Influence(models.Model):
      name = models.TextField()
  
 
</s> remove     state = models.ForeignKey(State)
 </s> add     state = models.ForeignKey(State, models.CASCADE) </s> remove     state = models.ForeignKey(State)
 </s> add     state = models.ForeignKey(State, models.CASCADE) </s> remove     content_type = models.ForeignKey(ContentType)
 </s> add     content_type = models.ForeignKey(ContentType, models.CASCADE) </s> remove     restaurant = models.ForeignKey(Restaurant)
 </s> add     restaurant = models.ForeignKey(Restaurant, models.CASCADE) </s> remove     feature = models.ForeignKey(Feature)
 </s> add     feature = models.ForeignKey(Feature, models.CASCADE)
    state = models.ForeignKey(State, models.CASCADE)
      name = models.CharField(max_length=15)
  
  
  class City(models.Model):
    state = models.ForeignKey(State, models.CASCADE)
  
  
  class Influence(models.Model):
      name = models.TextField()
  
keep keep keep keep replace keep keep keep keep keep
 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 
tests/admin_checks/models.py