Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed incorrect type for max_length.

  • Loading branch information...
commit 3b60ffa334e68cf44ac79c2997c05a2d14da15d5 1 parent fddb013
@timgraham timgraham authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.