      name = models.CharField(max_length=40)
  
  
  class Question(models.Model):
      poll = models.ForeignKey(Poll)
  
  
  class Novel(models.Model):
      name = models.CharField(max_length=40)
  
 
</s> remove     novel = models.ForeignKey(Novel)
 </s> add     novel = models.ForeignKey(Novel, models.CASCADE) </s> remove     chapter = models.ForeignKey(Chapter, on_delete=models.PROTECT)
 </s> add     chapter = models.ForeignKey(Chapter, models.PROTECT) </s> remove     employee = models.ForeignKey(Employee)
 </s> add     employee = models.ForeignKey(Employee, models.CASCADE) </s> remove             question = models.ForeignKey(Question)
 </s> add             question = models.ForeignKey(Question, models.CASCADE) </s> remove             question = models.ForeignKey(Question)
 </s> add             question = models.ForeignKey(Question, models.CASCADE)
    poll = models.ForeignKey(Poll, models.CASCADE)
      name = models.CharField(max_length=40)
  
  
  class Question(models.Model):
    poll = models.ForeignKey(Poll, models.CASCADE)
  
  
  class Novel(models.Model):
      name = models.CharField(max_length=40)
  
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