      pass
  
  
  class Manager(models.Model):
      restaurant = models.ForeignKey(Restaurant)
      name = models.CharField(max_length=50)
  
  
  class Network(models.Model):
      name = models.CharField(max_length=15)
 
</s> remove     restaurant = models.ForeignKey(Restaurant)
 </s> add     restaurant = models.ForeignKey(Restaurant, models.CASCADE) </s> remove         restaurant = models.ForeignKey(Restaurant)
 </s> add         restaurant = models.ForeignKey(Restaurant, on_delete=models.CASCADE) </s> remove     work_at = models.ForeignKey(Restaurant)
 </s> add     work_at = models.ForeignKey(Restaurant, models.CASCADE) </s> remove     state = models.ForeignKey(State)
 </s> add     state = models.ForeignKey(State, models.CASCADE) </s> remove     music = models.ForeignKey(Musician)
    group = models.ForeignKey(Group)
 </s> add     music = models.ForeignKey(Musician, models.CASCADE)
    group = models.ForeignKey(Group, models.CASCADE)
    restaurant = models.ForeignKey(Restaurant, models.CASCADE)
      pass
  
  
  class Manager(models.Model):
    restaurant = models.ForeignKey(Restaurant, models.CASCADE)
      name = models.CharField(max_length=50)
  
  
  class Network(models.Model):
      name = models.CharField(max_length=15)
keep keep keep keep replace keep keep keep keep keep
 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 
tests/model_formsets_regress/models.py