From 3b60ffa334e68cf44ac79c2997c05a2d14da15d5 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sun, 1 Dec 2013 14:21:57 -0500 Subject: [PATCH] Fixed incorrect type for max_length. --- tests/foreign_object/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/foreign_object/models.py b/tests/foreign_object/models.py index 7673d27af61..5ec6f6d28b4 100644 --- a/tests/foreign_object/models.py +++ b/tests/foreign_object/models.py @@ -162,7 +162,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)