misc: increase allowed size for exceptions URL (#20067)
This commit is contained in:
parent
04eda9a4ec
commit
b93098d4e6
|
@ -0,0 +1,19 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('agendas', '0022_auto_20171202_1828'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='desk',
|
||||
name='timeperiod_exceptions_remote_url',
|
||||
field=models.URLField(max_length=500, verbose_name='URL to fetch time period exceptions from', blank=True),
|
||||
),
|
||||
]
|
|
@ -364,8 +364,9 @@ class Desk(models.Model):
|
|||
agenda = models.ForeignKey(Agenda)
|
||||
label = models.CharField(_('Label'), max_length=150)
|
||||
slug = models.SlugField(_('Identifier'), max_length=160)
|
||||
timeperiod_exceptions_remote_url = models.URLField(_('URL to fetch time period exceptions from'),
|
||||
blank=True)
|
||||
timeperiod_exceptions_remote_url = models.URLField(
|
||||
_('URL to fetch time period exceptions from'),
|
||||
blank=True, max_length=500)
|
||||
|
||||
def __unicode__(self):
|
||||
return self.label
|
||||
|
|
Loading…
Reference in New Issue