Browse Source

Fix #1422 Altera verbose_name da model Votante (#1443)

Signed-off-by: Eliseu Egewarth <eliseuegewarth@gmail.com>
pull/1227/merge
Eliseu Egewarth 7 years ago
committed by Edward
parent
commit
ae60f0f392
  1. 19
      sapl/parlamentares/migrations/0006_auto_20170831_1400.py
  2. 4
      sapl/parlamentares/models.py

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

4
sapl/parlamentares/models.py

@ -576,8 +576,8 @@ class Votante(models.Model):
max_length=30, null=True, blank=True) max_length=30, null=True, blank=True)
class Meta: class Meta:
verbose_name = _('Usuário') verbose_name = _('Usuário Votante')
verbose_name_plural = _('Usuários') verbose_name_plural = _('Usuários Votantes')
permissions = ( permissions = (
('can_vote', _('Can Vote')), ('can_vote', _('Can Vote')),
) )

Loading…
Cancel
Save