diff --git a/tests/foreign_object/models.py b/tests/foreign_object/models.py index d8c3bc10d4..fe74fae69a 100644 --- a/tests/foreign_object/models.py +++ b/tests/foreign_object/models.py @@ -153,7 +153,7 @@ class NewsArticle(Article): class ArticleTranslation(models.Model): article = models.ForeignKey(Article) - lang = models.CharField(max_length='2') + lang = models.CharField(max_length=2) title = models.CharField(max_length=100) body = models.TextField() abstract = models.CharField(max_length=400, null=True)