Skip to content

Commit

Permalink
update 'max_langth'
Browse files Browse the repository at this point in the history
  • Loading branch information
mldzs committed Mar 29, 2021
1 parent 2609e73 commit 84e37cd
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions bothub/common/migrations/0110_auto_20210329_1416.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Generated by Django 2.2.19 on 2021-03-29 14:16

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [("common", "0109_auto_20210329_1407")]

operations = [
migrations.AlterField(
model_name="repository",
name="repository_type",
field=models.CharField(
choices=[("classifier", "Classifier"), ("content", "Content")],
default="classifier",
max_length=10,
verbose_name="repository type",
),
)
]
2 changes: 1 addition & 1 deletion bothub/common/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ class Meta:
)
repository_type = models.CharField(
_("repository type"),
max_length=50,
max_length=10,
choices=TYPE_CHOICES,
default=TYPE_CLASSIFIER,
)
Expand Down

0 comments on commit 84e37cd

Please sign in to comment.