Skip to content

Commit

Permalink
change the max_length of the name for repository owner to 150(if we n…
Browse files Browse the repository at this point in the history
…eed to limit it afterwards, we do it in the serializer)
  • Loading branch information
helllllllder committed Oct 28, 2021
1 parent 6a55542 commit 221433e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.8 on 2021-10-28 21:08

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('authentication', '0009_auto_20210506_1453'),
]

operations = [
migrations.AlterField(
model_name='repositoryowner',
name='name',
field=models.CharField(help_text="User's name.", max_length=150, verbose_name='name'),
),
]
2 changes: 1 addition & 1 deletion bothub/authentication/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class Meta:

REQUIRED_FIELDS = ["nickname"]

name = models.CharField(_("name"), max_length=32, help_text=_("User's name."))
name = models.CharField(_("name"), max_length=150, help_text=_("User's name."))
locale = models.CharField(
_("locale"), max_length=48, help_text=_("User's locale."), blank=True
)
Expand Down

0 comments on commit 221433e

Please sign in to comment.