search: increase allowed size for URLs (#60282)
This commit is contained in:
parent
02cda25460
commit
9e5fe63a9c
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 2.2.21 on 2022-01-05 07:32
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('search', '0011_title'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='indexedcell',
|
||||
name='url',
|
||||
field=models.CharField(blank=True, max_length=5000, null=True),
|
||||
),
|
||||
]
|
|
@ -285,7 +285,7 @@ class IndexedCell(models.Model):
|
|||
cell_pk = models.PositiveIntegerField(null=True)
|
||||
cell = fields.GenericForeignKey('cell_type', 'cell_pk')
|
||||
page = models.ForeignKey(Page, on_delete=models.CASCADE, blank=True, null=True)
|
||||
url = models.CharField(max_length=500, blank=True, null=True)
|
||||
url = models.CharField(max_length=5000, blank=True, null=True)
|
||||
title = models.CharField(max_length=500, blank=True, null=True)
|
||||
indexed_text = models.TextField(blank=True, null=True)
|
||||
public_access = models.BooleanField(default=False)
|
||||
|
|
Loading…
Reference in New Issue