From 81f10d6060b19a17f371254bfab5d4533433407f Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Tue, 21 Aug 2018 14:21:33 -0300 Subject: [PATCH] =?UTF-8?q?Torna=20r=C3=B3tulo=20de=20campo=20mais=20claro?= =?UTF-8?q?=20nas=20configura=C3=A7=C3=B5es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../migrations/0020_auto_20180821_1421.py | 20 +++++++++++++++++++ sapl/base/models.py | 6 +++--- 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 sapl/base/migrations/0020_auto_20180821_1421.py diff --git a/sapl/base/migrations/0020_auto_20180821_1421.py b/sapl/base/migrations/0020_auto_20180821_1421.py new file mode 100644 index 000000000..90e77181d --- /dev/null +++ b/sapl/base/migrations/0020_auto_20180821_1421.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.13 on 2018-08-21 17:21 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('base', '0019_auto_20180815_1025'), + ] + + operations = [ + migrations.AlterField( + model_name='appconfig', + name='documentos_administrativos', + field=models.CharField(choices=[('O', 'Ostensiva'), ('R', 'Restritiva')], default='O', max_length=1, verbose_name='Visibilidade dos Documentos Administrativos'), + ), + ] diff --git a/sapl/base/models.py b/sapl/base/models.py index df8ae7c3f..6e3d2ee67 100644 --- a/sapl/base/models.py +++ b/sapl/base/models.py @@ -9,8 +9,8 @@ from django.utils.translation import ugettext_lazy as _ from sapl.utils import (LISTA_DE_UFS, YES_NO_CHOICES, get_settings_auth_user_model, models_with_gr_for_model) -TIPO_DOCUMENTO_ADMINISTRATIVO = (('O', _('Ostensivo')), - ('R', _('Restritivo'))) +TIPO_DOCUMENTO_ADMINISTRATIVO = (('O', _('Ostensiva')), + ('R', _('Restritiva'))) SEQUENCIA_NUMERACAO = (('A', _('Sequencial por ano')), ('L', _('Sequencial por legislatura')), @@ -70,7 +70,7 @@ class AppConfig(models.Model): documentos_administrativos = models.CharField( max_length=1, - verbose_name=_('Ostensivo/Restritivo'), + verbose_name=_('Visibilidade dos Documentos Administrativos'), choices=TIPO_DOCUMENTO_ADMINISTRATIVO, default='O') sequencia_numeracao = models.CharField(