  
  
  class ArticleTranslation(models.Model):
  
      article = models.ForeignKey('indexes.Article')
      language = models.CharField(max_length=10, unique=True)
      content = models.TextField()
  
  
  class Article(models.Model):
 
</s> remove         super(CurrentTranslation, self).__init__(to, from_fields, to_fields, **kwargs)
 </s> add         super(CurrentTranslation, self).__init__(to, on_delete, from_fields, to_fields, **kwargs) </s> remove     article = models.ForeignKey(Article, related_name="comments")
 </s> add     article = models.ForeignKey(Article, models.CASCADE, related_name="comments") </s> remove     article = models.ForeignKey(Article, related_name="comments")
 </s> add     article = models.ForeignKey(Article, models.CASCADE, related_name="comments") </s> remove     post = models.ForeignKey(Post, related_name='attached_%(class)s_set')
 </s> add     post = models.ForeignKey(Post, models.CASCADE, related_name='attached_%(class)s_set') </s> remove     people_unique = models.ForeignKey(People, unique=True)
 </s> add     people_unique = models.ForeignKey(People, models.CASCADE, unique=True)
    article = models.ForeignKey('indexes.Article', models.CASCADE)
  
  
  class ArticleTranslation(models.Model):
  
    article = models.ForeignKey('indexes.Article', models.CASCADE)
      language = models.CharField(max_length=10, unique=True)
      content = models.TextField()
  
  
  class Article(models.Model):
keep keep keep keep replace keep keep keep keep keep
 Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField 
tests/indexes/models.py