1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

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

@@ -29,7 +29,7 @@ class Tag(models.Model):
class Thing(models.Model):
name = models.CharField(max_length=256)
name = models.CharField(max_length=255)
tags = models.ManyToManyField(Tag)