0001-dataviz-increase-length-of-url-field-34047.patch
combo/apps/dataviz/migrations/0009_auto_20190617_1214.py | ||
---|---|---|
1 |
# -*- coding: utf-8 -*- |
|
2 |
# Generated by Django 1.11.12 on 2019-06-17 10:14 |
|
3 |
from __future__ import unicode_literals |
|
4 | ||
5 |
from django.db import migrations, models |
|
6 | ||
7 | ||
8 |
class Migration(migrations.Migration): |
|
9 | ||
10 |
dependencies = [ |
|
11 |
('dataviz', '0008_auto_20190328_0857'), |
|
12 |
] |
|
13 | ||
14 |
operations = [ |
|
15 |
migrations.AlterField( |
|
16 |
model_name='chartcell', |
|
17 |
name='url', |
|
18 |
field=models.URLField(blank=True, max_length=250, null=True, verbose_name='URL'), |
|
19 |
), |
|
20 |
] |
combo/apps/dataviz/models.py | ||
---|---|---|
65 | 65 |
template_name = 'combo/dataviz-chart.html' |
66 | 66 | |
67 | 67 |
title = models.CharField(_('Title'), max_length=150, blank=True, null=True) |
68 |
url = models.URLField(_('URL'), max_length=150, blank=True, null=True)
|
|
68 |
url = models.URLField(_('URL'), max_length=250, blank=True, null=True)
|
|
69 | 69 | |
70 | 70 |
class Meta: |
71 | 71 |
verbose_name = _('Chart') |
72 |
- |