Fixed incorrect type for max_length.

This commit is contained in:
Tim Graham 2013-12-01 14:21:57 -05:00
parent fddb0131d3
commit 3b60ffa334
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ class NewsArticle(Article):
class ArticleTranslation(models.Model): class ArticleTranslation(models.Model):
article = models.ForeignKey(Article) article = models.ForeignKey(Article)
lang = models.CharField(max_length='2') lang = models.CharField(max_length=2)
title = models.CharField(max_length=100) title = models.CharField(max_length=100)
body = models.TextField() body = models.TextField()
abstract = models.CharField(max_length=400, null=True) abstract = models.CharField(max_length=400, null=True)