Decreased max_length for char fields unless absolutely needed. (#8485)

This commit is contained in:
Florian Apolloner 2017-05-10 17:33:46 +02:00 committed by GitHub
parent 60f5129076
commit d611a89238
7 changed files with 13 additions and 13 deletions

View file

@ -83,7 +83,7 @@ class ArticleTranslation(models.Model):
lang = models.CharField(max_length=2)
title = models.CharField(max_length=100)
body = models.TextField()
abstract = models.CharField(max_length=400, null=True)
abstract = models.TextField(null=True)
class Meta:
unique_together = ('article', 'lang')