From fe5ade55b4086db29fe0f299d9aae0d17a8a4904 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Tue, 6 Apr 2021 13:36:06 -0300 Subject: [PATCH] =?UTF-8?q?Complementos=20migra=C3=A7=C3=A3o=20TipoCasaLeg?= =?UTF-8?q?islativa=20>=20TipoOrgao?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../migrations/0010_auto_20210406_1101.py | 18 ++++++++++++++++++ .../migrations/0011_auto_20210406_1135.py | 18 ++++++++++++++++++ sigi/apps/home/templatetags/menu_conf.yaml | 2 +- 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 sigi/apps/casas/migrations/0010_auto_20210406_1101.py create mode 100644 sigi/apps/casas/migrations/0011_auto_20210406_1135.py diff --git a/sigi/apps/casas/migrations/0010_auto_20210406_1101.py b/sigi/apps/casas/migrations/0010_auto_20210406_1101.py new file mode 100644 index 0000000..dfc8436 --- /dev/null +++ b/sigi/apps/casas/migrations/0010_auto_20210406_1101.py @@ -0,0 +1,18 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('casas', '0009_auto_20210406_1055'), + ] + + operations = [ + migrations.RenameModel( + old_name='TipoCasaLegislativa', + new_name='TipoOrgao', + ), + ] diff --git a/sigi/apps/casas/migrations/0011_auto_20210406_1135.py b/sigi/apps/casas/migrations/0011_auto_20210406_1135.py new file mode 100644 index 0000000..276d3bb --- /dev/null +++ b/sigi/apps/casas/migrations/0011_auto_20210406_1135.py @@ -0,0 +1,18 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('casas', '0010_auto_20210406_1101'), + ] + + operations = [ + migrations.AlterModelOptions( + name='tipoorgao', + options={'verbose_name': 'Tipo de \xf3rg\xe3o', 'verbose_name_plural': 'Tipos de \xf3rg\xe3o'}, + ), + ] diff --git a/sigi/apps/home/templatetags/menu_conf.yaml b/sigi/apps/home/templatetags/menu_conf.yaml index c14c275..3283527 100644 --- a/sigi/apps/home/templatetags/menu_conf.yaml +++ b/sigi/apps/home/templatetags/menu_conf.yaml @@ -22,7 +22,7 @@ main_menu: - title: Carteira de relacionamentos url: casas/carteira - title: Tipos de Casas - url: casas/tipocasalegislativa/ + url: casas/tipoorgao/ # - title: Legislaturas # url: parlamentares/legislatura/ # children: