Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.6.x] Fixed incorrect type for max_length.

Backport of 3b60ffa from master
  • Loading branch information...
commit adb8c563ed4a52b9384512e95405331ca6ac655d 1 parent 2f42bba
@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
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.