Browse Source

Acerta verbose_name do model mesorregiao

pull/163/head 3.0.30
Sesostris Vieira 2 years ago
parent
commit
656e9e0f96
  1. 20
      sigi/apps/contatos/migrations/0007_alter_mesorregiao_options.py
  2. 2
      sigi/apps/contatos/models.py

20
sigi/apps/contatos/migrations/0007_alter_mesorregiao_options.py

@ -0,0 +1,20 @@
# Generated by Django 4.1.7 on 2023-03-10 20:33
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("contatos", "0006_alter_unidadefederativa_regiao"),
]
operations = [
migrations.AlterModelOptions(
name="mesorregiao",
options={
"ordering": ("uf", "nome"),
"verbose_name": "mesorregião",
"verbose_name_plural": "mesorregiões",
},
),
]

2
sigi/apps/contatos/models.py

@ -63,7 +63,7 @@ class Mesorregiao(models.Model):
"uf", "uf",
"nome", "nome",
) )
verbose_name = (_("mesorregião"),) verbose_name = _("mesorregião")
verbose_name_plural = _("mesorregiões") verbose_name_plural = _("mesorregiões")
def __str__(self): def __str__(self):

Loading…
Cancel
Save