Browse Source

Fix #682

pull/691/head
Eduardo Edson Batista Cordeiro Alves 8 years ago
parent
commit
c068aa10ca
  1. 19
      sapl/materia/migrations/0051_auto_20161004_0927.py
  2. 25
      sapl/sessao/migrations/0028_auto_20161004_0927.py
  3. 4
      sapl/sessao/models.py

19
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'},
),
]

25
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'),
),
]

4
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

Loading…
Cancel
Save