diff --git a/sigi/apps/contatos/migrations/0007_alter_mesorregiao_options.py b/sigi/apps/contatos/migrations/0007_alter_mesorregiao_options.py new file mode 100644 index 0000000..0c7efcb --- /dev/null +++ b/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", + }, + ), + ] diff --git a/sigi/apps/contatos/models.py b/sigi/apps/contatos/models.py index 3ab30c5..640fe8d 100644 --- a/sigi/apps/contatos/models.py +++ b/sigi/apps/contatos/models.py @@ -63,7 +63,7 @@ class Mesorregiao(models.Model): "uf", "nome", ) - verbose_name = (_("mesorregião"),) + verbose_name = _("mesorregião") verbose_name_plural = _("mesorregiões") def __str__(self):