mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Decreased max_length for char fields unless absolutely needed. (#8485)
This commit is contained in:
parent
60f5129076
commit
d611a89238
7 changed files with 13 additions and 13 deletions
|
@ -193,7 +193,7 @@ class MessyBachelorParty(BachelorParty):
|
|||
|
||||
# Check concrete -> abstract -> concrete inheritance
|
||||
class SearchableLocation(models.Model):
|
||||
keywords = models.CharField(max_length=256)
|
||||
keywords = models.CharField(max_length=255)
|
||||
|
||||
|
||||
class Station(SearchableLocation):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue