summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-12-01 14:21:57 -0500
committerTim Graham <timograham@gmail.com>2013-12-01 14:26:42 -0500
commitadb8c563ed4a52b9384512e95405331ca6ac655d (patch)
tree87fc35eba8ba87ff1d2f8be4a0a9d24369c90208 /tests
parent2f42bbaba739079713a555b9881ca5762ee0a0dc (diff)
[1.6.x] Fixed incorrect type for max_length.
Backport of 3b60ffa334 from master
Diffstat (limited to 'tests')
-rw-r--r--tests/foreign_object/models.py2
1 files changed, 1 insertions, 1 deletions
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)