Skip to content

Commit

Permalink
Increase language max chars to 50
Browse files Browse the repository at this point in the history
  • Loading branch information
chdorner committed Jun 1, 2023
1 parent fac99cb commit 141cdb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion activities/migrations/0017_post_language.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name="post",
name="language",
field=models.CharField(max_length=2, null=True),
field=models.CharField(max_length=50, null=True),
),
]
2 changes: 1 addition & 1 deletion activities/models/post.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ class Types(models.TextChoices):
content = models.TextField()

# The language of the content
language = models.CharField(max_length=2, null=True)
language = models.CharField(max_length=50, null=True)

type = models.CharField(
max_length=20,
Expand Down

0 comments on commit 141cdb0

Please sign in to comment.