Browse Source

Complementos migração TipoCasaLegislativa > TipoOrgao

pull/32/head
Sesostris Vieira 4 years ago
parent
commit
fe5ade55b4
  1. 18
      sigi/apps/casas/migrations/0010_auto_20210406_1101.py
  2. 18
      sigi/apps/casas/migrations/0011_auto_20210406_1135.py
  3. 2
      sigi/apps/home/templatetags/menu_conf.yaml

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

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

2
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:

Loading…
Cancel
Save