mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-28 18:21:00 +00:00
increase attachment remote_url limit
This commit is contained in:
parent
2f4daa02bd
commit
29926f2207
2 changed files with 18 additions and 1 deletions
|
@ -0,0 +1,17 @@
|
||||||
|
# Generated by Django 4.2.8 on 2024-01-06 05:18
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
dependencies = [
|
||||||
|
("activities", "0019_alter_postattachment_focal_x_and_more"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="postattachment",
|
||||||
|
name="remote_url",
|
||||||
|
field=models.CharField(blank=True, max_length=2500, null=True),
|
||||||
|
),
|
||||||
|
]
|
|
@ -50,7 +50,7 @@ class PostAttachment(StatorModel):
|
||||||
blank=True,
|
blank=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
remote_url = models.CharField(max_length=500, null=True, blank=True)
|
remote_url = models.CharField(max_length=2500, null=True, blank=True)
|
||||||
|
|
||||||
# This is the description for images, at least
|
# This is the description for images, at least
|
||||||
name = models.TextField(null=True, blank=True)
|
name = models.TextField(null=True, blank=True)
|
||||||
|
|
Loading…
Reference in a new issue