dataviz: increase length of url field (#34047)

This commit is contained in:
Frédéric Péters 2019-06-17 12:14:40 +02:00
parent 6f55f4489a
commit 23f70f720b
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.12 on 2019-06-17 10:14
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('dataviz', '0008_auto_20190328_0857'),
]
operations = [
migrations.AlterField(
model_name='chartcell',
name='url',
field=models.URLField(blank=True, max_length=250, null=True, verbose_name='URL'),
),
]

View File

@ -65,7 +65,7 @@ class ChartCell(CellBase):
template_name = 'combo/dataviz-chart.html'
title = models.CharField(_('Title'), max_length=150, blank=True, null=True)
url = models.URLField(_('URL'), max_length=150, blank=True, null=True)
url = models.URLField(_('URL'), max_length=250, blank=True, null=True)
class Meta:
verbose_name = _('Chart')