From ae60f0f392021fda72072ba8a77518505665d6fd Mon Sep 17 00:00:00 2001 From: Eliseu Egewarth Date: Thu, 31 Aug 2017 15:14:17 -0300 Subject: [PATCH] Fix #1422 Altera verbose_name da model Votante (#1443) Signed-off-by: Eliseu Egewarth --- .../migrations/0006_auto_20170831_1400.py | 19 +++++++++++++++++++ sapl/parlamentares/models.py | 4 ++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 sapl/parlamentares/migrations/0006_auto_20170831_1400.py diff --git a/sapl/parlamentares/migrations/0006_auto_20170831_1400.py b/sapl/parlamentares/migrations/0006_auto_20170831_1400.py new file mode 100644 index 000000000..a72cd43df --- /dev/null +++ b/sapl/parlamentares/migrations/0006_auto_20170831_1400.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.13 on 2017-08-31 14:00 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('parlamentares', '0005_auto_20170814_1615'), + ] + + operations = [ + migrations.AlterModelOptions( + name='votante', + options={'permissions': (('can_vote', 'Can Vote'),), 'verbose_name': 'Usuário Votante', 'verbose_name_plural': 'Usuários Votantes'}, + ), + ] diff --git a/sapl/parlamentares/models.py b/sapl/parlamentares/models.py index ce825d88d..db8ea8242 100644 --- a/sapl/parlamentares/models.py +++ b/sapl/parlamentares/models.py @@ -576,8 +576,8 @@ class Votante(models.Model): max_length=30, null=True, blank=True) class Meta: - verbose_name = _('Usuário') - verbose_name_plural = _('Usuários') + verbose_name = _('Usuário Votante') + verbose_name_plural = _('Usuários Votantes') permissions = ( ('can_vote', _('Can Vote')), )