mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed incorrect type for max_length.
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user