[1.6.x] Fixed incorrect type for max_length.
Backport of 3b60ffa334
from master
This commit is contained in:
parent
2f42bbaba7
commit
adb8c563ed
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue