mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-22 03:13:06 +00:00
feat: address new max length for iso639
This commit is contained in:
parent
3ee375d490
commit
c7e10bd044
2 changed files with 19 additions and 1 deletions
18
pokemon_v2/migrations/0004_iso639length_20191217.py
Normal file
18
pokemon_v2/migrations/0004_iso639length_20191217.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('pokemon_v2', '0003_auto_20160530_1132'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='language',
|
||||
name='iso639',
|
||||
field=models.CharField(max_length=10),
|
||||
preserve_default=True,
|
||||
),
|
||||
|
||||
]
|
|
@ -499,7 +499,7 @@ class VersionGroupMoveLearnMethod(HasVersionGroup, HasMoveLearnMethod):
|
|||
|
||||
class Language(HasName, HasOrder):
|
||||
|
||||
iso639 = models.CharField(max_length=2)
|
||||
iso639 = models.CharField(max_length=10)
|
||||
|
||||
iso3166 = models.CharField(max_length=2)
|
||||
|
||||
|
|
Loading…
Reference in a new issue