From 038acc5f22d9f28af3a685a985ce9a99727ce959 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Mon, 24 May 2021 09:49:07 -0300 Subject: [PATCH] =?UTF-8?q?Ajusta=20rotina=20de=20verifica=C3=A7=C3=A3o=20?= =?UTF-8?q?de=20servi=C3=A7os?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../migrations/0008_auto_20210519_1117.py | 50 ++++ sigi/apps/servicos/models.py | 218 +++++++++++++----- 2 files changed, 215 insertions(+), 53 deletions(-) create mode 100644 sigi/apps/servicos/migrations/0008_auto_20210519_1117.py diff --git a/sigi/apps/servicos/migrations/0008_auto_20210519_1117.py b/sigi/apps/servicos/migrations/0008_auto_20210519_1117.py new file mode 100644 index 0000000..9e153e6 --- /dev/null +++ b/sigi/apps/servicos/migrations/0008_auto_20210519_1117.py @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('servicos', '0007_auto_20210416_0841'), + ] + + operations = [ + migrations.AlterField( + model_name='servico', + name='data_ultimo_uso', + field=models.DateField(help_text='Data em que o servi\xe7o foi utilizado pela Casa Legislativa pela \xfaltima vez', null=True, verbose_name='Data da \xfaltima utiliza\xe7\xe3o', blank=True), + preserve_default=True, + ), + migrations.AlterField( + model_name='servico', + name='erro_atualizacao', + field=models.TextField(help_text='Erro ocorrido na \xfaltima tentativa de verificar a data de \xfaltima atualiza\xe7\xe3o do servi\xe7o', verbose_name='Erro na atualiza\xe7\xe3o', blank=True), + preserve_default=True, + ), + migrations.AlterField( + model_name='tiposervico', + name='modo', + field=models.CharField(max_length=1, verbose_name='modo de presta\xe7\xe3o do servi\xe7o', choices=[(b'H', 'Hospedagem'), (b'R', 'Registro')]), + preserve_default=True, + ), + migrations.AlterField( + model_name='tiposervico', + name='nome', + field=models.CharField(max_length=60, verbose_name='nome'), + preserve_default=True, + ), + migrations.AlterField( + model_name='tiposervico', + name='sigla', + field=models.CharField(max_length=b'12', verbose_name='sigla'), + preserve_default=True, + ), + migrations.AlterField( + model_name='tiposervico', + name='string_pesquisa', + field=models.TextField(help_text='Par\xe2metros da pesquisa para averiguar a data da \xfaltima atualiza\xe7\xe3o do servi\xe7o. Formato: