Increase language max chars to 50

pull/579/head
Christof Dorner 2023-06-01 18:41:24 +02:00
rodzic b963fbcbfd
commit 1a11a1810e
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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),
),
]

Wyświetl plik

@ -254,7 +254,7 @@ class Post(StatorModel):
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,