          pass
  
  
  class TwoAlbumFKAndAnE(models.Model):
      album1 = models.ForeignKey(Album, related_name="album1_set")
      album2 = models.ForeignKey(Album, related_name="album2_set")
      e = models.CharField(max_length=1)
  
  
  class Author(models.Model):
      name = models.CharField(max_length=100)
 
</s> remove     album = models.ForeignKey(Album)
 </s> add     album = models.ForeignKey(Album, models.CASCADE) </s> remove     parent = models.ForeignKey(SomeParentModel)
 </s> add     parent = models.ForeignKey(SomeParentModel, models.CASCADE) </s> remove     recommender = models.ForeignKey(Recommender)
 </s> add     recommender = models.ForeignKey(Recommender, models.CASCADE) </s> remove     title = models.ForeignKey(Title)
 </s> add     title = models.ForeignKey(Title, models.CASCADE) </s> remove     extra = models.ForeignKey(ExtraInfo)
 </s> add     extra = models.ForeignKey(ExtraInfo, models.CASCADE)
    album1 = models.ForeignKey(Album, models.CASCADE, related_name="album1_set")
    album2 = models.ForeignKey(Album, models.CASCADE, related_name="album2_set")
          pass
  
  
  class TwoAlbumFKAndAnE(models.Model):
    album1 = models.ForeignKey(Album, models.CASCADE, related_name="album1_set")
    album2 = models.ForeignKey(Album, models.CASCADE, related_name="album2_set")
    album1 = models.ForeignKey(Album, models.CASCADE, related_name="album1_set")
    album2 = models.ForeignKey(Album, models.CASCADE, related_name="album2_set")
      e = models.CharField(max_length=1)
  
  
  class Author(models.Model):
      name = models.CharField(max_length=100)
keep keep keep keep replace replace keep keep keep keep keep
 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 
tests/admin_checks/models.py