Skip to content
Browse files

Fixed incorrect type for max_length.

  • Loading branch information...
1 parent fddb013 commit 3b60ffa334e68cf44ac79c2997c05a2d14da15d5 @timgraham timgraham committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/foreign_object/models.py
View
2 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)

0 comments on commit 3b60ffa

Please sign in to comment.
Something went wrong with that request. Please try again.