          return self.members.count()
  
  
  class Tag(models.Model):
      content_type = models.ForeignKey(ContentType, related_name='g_r_r_tags')
      object_id = models.CharField(max_length=15)
      content_object = GenericForeignKey()
      label = models.CharField(max_length=15)
  
  
 
</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, related_name='backend_tags')
 </s> add     content_type = models.ForeignKey(ContentType, models.CASCADE, related_name='backend_tags') </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, related_name='g_r_r_tags')
          return self.members.count()
  
  
  class Tag(models.Model):
    content_type = models.ForeignKey(ContentType, models.CASCADE, related_name='g_r_r_tags')
      object_id = models.CharField(max_length=15)
      content_object = GenericForeignKey()
      label = 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/generic_relations_regress/models.py