diff --git a/sapl/materia/migrations/0051_auto_20161004_0927.py b/sapl/materia/migrations/0051_auto_20161004_0927.py new file mode 100644 index 000000000..db4e3349e --- /dev/null +++ b/sapl/materia/migrations/0051_auto_20161004_0927.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.7 on 2016-10-04 12:27 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('materia', '0050_auto_20161003_0417'), + ] + + operations = [ + migrations.AlterModelOptions( + name='tramitacao', + options={'ordering': ('-data_tramitacao',), 'verbose_name': 'Tramitação', 'verbose_name_plural': 'Tramitações'}, + ), + ] diff --git a/sapl/sessao/migrations/0028_auto_20161004_0927.py b/sapl/sessao/migrations/0028_auto_20161004_0927.py new file mode 100644 index 000000000..cd8f78f2f --- /dev/null +++ b/sapl/sessao/migrations/0028_auto_20161004_0927.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.7 on 2016-10-04 12:27 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('sessao', '0027_auto_20161003_0417'), + ] + + operations = [ + migrations.AlterField( + model_name='orador', + name='url_discurso', + field=models.CharField(blank=True, max_length=150, verbose_name='URL Vídeo ou Observação'), + ), + migrations.AlterField( + model_name='oradorexpediente', + name='url_discurso', + field=models.CharField(blank=True, max_length=150, verbose_name='URL Vídeo ou Observação'), + ), + ] diff --git a/sapl/sessao/models.py b/sapl/sessao/models.py index 86ce4c2e2..9979d1c2e 100644 --- a/sapl/sessao/models.py +++ b/sapl/sessao/models.py @@ -213,8 +213,8 @@ class AbstractOrador(models.Model): # Oradores parlamentar = models.ForeignKey(Parlamentar, verbose_name=_('Parlamentar')) numero_ordem = models.PositiveIntegerField( verbose_name=_('Ordem de pronunciamento')) - url_discurso = models.URLField( - max_length=150, blank=True, verbose_name=_('URL Vídeo')) + url_discurso = models.CharField( + max_length=150, blank=True, verbose_name=_('URL Vídeo ou Observação')) class Meta: abstract = True