From f9acae9322df6dd943b183c66eb996cab4ef11df Mon Sep 17 00:00:00 2001 From: AlGouvea Date: Fri, 8 Oct 2021 11:34:40 -0300 Subject: [PATCH] =?UTF-8?q?Altera=C3=A7=C3=A3o=20de=20descri=C3=A7=C3=B5es?= =?UTF-8?q?=20e=20adi=C3=A7=C3=A3o=20do=20status=20do=20cronometro=20perso?= =?UTF-8?q?nalizado?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../migrations/0059_auto_20211008_1132.py | 33 +++++++++++++++++++ sapl/sessao/models.py | 10 ++++-- 2 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 sapl/sessao/migrations/0059_auto_20211008_1132.py diff --git a/sapl/sessao/migrations/0059_auto_20211008_1132.py b/sapl/sessao/migrations/0059_auto_20211008_1132.py new file mode 100644 index 000000000..51797e5ac --- /dev/null +++ b/sapl/sessao/migrations/0059_auto_20211008_1132.py @@ -0,0 +1,33 @@ +# Generated by Django 2.2.24 on 2021-10-08 14:32 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('sessao', '0058_auto_20211006_1111'), + ] + + operations = [ + migrations.AddField( + model_name='sessaoplenaria', + name='status_cronometro_personalizado', + field=models.CharField(default='S', max_length=1, verbose_name='Status do cronômetro personalizado'), + ), + migrations.AlterField( + model_name='sessaoplenaria', + name='status_cronometro_aparte', + field=models.CharField(default='S', max_length=1, verbose_name='Status do cronômetro aparte'), + ), + migrations.AlterField( + model_name='sessaoplenaria', + name='status_cronometro_consideracoes_finais', + field=models.CharField(default='S', max_length=1, verbose_name='Status do cronômetro consideracoes finais'), + ), + migrations.AlterField( + model_name='sessaoplenaria', + name='status_cronometro_ordem_do_dia', + field=models.CharField(default='S', max_length=1, verbose_name='Status do cronômetro ordem do dia'), + ), + ] diff --git a/sapl/sessao/models.py b/sapl/sessao/models.py index a77e16144..83b2949ac 100644 --- a/sapl/sessao/models.py +++ b/sapl/sessao/models.py @@ -163,15 +163,19 @@ class SessaoPlenaria(models.Model): default='S') status_cronometro_aparte = models.CharField( max_length=1, - verbose_name=_('Status do cronômetro discurso'), + verbose_name=_('Status do cronômetro aparte'), default='S') status_cronometro_ordem_do_dia = models.CharField( max_length=1, - verbose_name=_('Status do cronômetro discurso'), + verbose_name=_('Status do cronômetro ordem do dia'), default='S') status_cronometro_consideracoes_finais = models.CharField( max_length=1, - verbose_name=_('Status do cronômetro discurso'), + verbose_name=_('Status do cronômetro consideracoes finais'), + default='S') + status_cronometro_personalizado = models.CharField( + max_length=1, + verbose_name=_('Status do cronômetro personalizado'), default='S') tipo = models.ForeignKey(TipoSessaoPlenaria, on_delete=models.PROTECT,