  
  @python_2_unicode_compatible
  class ExtraInfo(models.Model):
      info = models.CharField(max_length=100)
      note = models.ForeignKey(Note)
      value = models.IntegerField(null=True)
  
      class Meta:
          ordering = ['info']
  
 
</s> remove     creator = models.ForeignKey(Author)
    note = models.ForeignKey(Note)
 </s> add     creator = models.ForeignKey(Author, models.CASCADE)
    note = models.ForeignKey(Note, models.CASCADE) </s> remove     reporter = models.ForeignKey(Reporter, null=True)
 </s> add     reporter = models.ForeignKey(Reporter, models.SET_NULL, null=True) </s> remove     collector = models.ForeignKey(Collector)
 </s> add     collector = models.ForeignKey(Collector, models.CASCADE) </s> remove     band = models.ForeignKey(Band)
 </s> add     band = models.ForeignKey(Band, models.CASCADE) </s> remove     album = models.ForeignKey(Album)
 </s> add     album = models.ForeignKey(Album, models.CASCADE)
    note = models.ForeignKey(Note, models.CASCADE)
  
  @python_2_unicode_compatible
  class ExtraInfo(models.Model):
      info = models.CharField(max_length=100)
    note = models.ForeignKey(Note, models.CASCADE)
      value = models.IntegerField(null=True)
  
      class Meta:
          ordering = ['info']
  
keep keep keep keep replace keep keep keep keep keep
 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 
tests/queries/models.py