dataviz: increase length of url field (#34047)
This commit is contained in:
parent
6f55f4489a
commit
23f70f720b
|
@ -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'),
|
||||||
|
),
|
||||||
|
]
|
|
@ -65,7 +65,7 @@ class ChartCell(CellBase):
|
||||||
template_name = 'combo/dataviz-chart.html'
|
template_name = 'combo/dataviz-chart.html'
|
||||||
|
|
||||||
title = models.CharField(_('Title'), max_length=150, blank=True, null=True)
|
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:
|
class Meta:
|
||||||
verbose_name = _('Chart')
|
verbose_name = _('Chart')
|
||||||
|
|
Loading…
Reference in New Issue