      content_object = GenericForeignKey()
  
  
  class TextLink(models.Model):
      content_type = models.ForeignKey(ContentType)
      object_id = models.TextField()
      content_object = GenericForeignKey()
  
  
  class OddRelation1(models.Model):
 
</s> remove     content_type = models.ForeignKey(ContentType)
 </s> add     content_type = models.ForeignKey(ContentType, models.CASCADE) </s> remove     content_type = models.ForeignKey(ContentType)
 </s> add     content_type = models.ForeignKey(ContentType, models.CASCADE) </s> remove             content_type = models.ForeignKey(ContentType)
 </s> add             content_type = models.ForeignKey(ContentType, models.CASCADE) </s> remove             content_type = models.ForeignKey(ContentType)
 </s> add             content_type = models.ForeignKey(ContentType, models.CASCADE) </s> remove             content_type = models.ForeignKey(ContentType)
 </s> add             content_type = models.ForeignKey(ContentType, models.CASCADE)
    content_type = models.ForeignKey(ContentType, models.CASCADE)
      content_object = GenericForeignKey()
  
  
  class TextLink(models.Model):
    content_type = models.ForeignKey(ContentType, models.CASCADE)
      object_id = models.TextField()
      content_object = GenericForeignKey()
  
  
  class OddRelation1(models.Model):
keep keep keep keep replace keep keep keep keep keep
 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 
tests/generic_relations_regress/models.py