Skip to content

Commit

Permalink
Fixed incorrect type for max_length.
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed Dec 1, 2013
1 parent fddb013 commit 3b60ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/foreign_object/models.py
Expand Up @@ -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)
Expand Down

0 comments on commit 3b60ffa

Please sign in to comment.