From 580159179a037427828d5f5742d79cab51c6c347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Fri, 9 Sep 2022 12:48:11 -0300 Subject: [PATCH] Ajuste no migration de parlamentares --- sigi/apps/parlamentares/migrations/0001_initial.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sigi/apps/parlamentares/migrations/0001_initial.py b/sigi/apps/parlamentares/migrations/0001_initial.py index 9664425..4a67142 100644 --- a/sigi/apps/parlamentares/migrations/0001_initial.py +++ b/sigi/apps/parlamentares/migrations/0001_initial.py @@ -122,7 +122,7 @@ class Migration(migrations.Migration): ( "casa_legislativa", models.ForeignKey( - to="casas.CasaLegislativa", on_delete=models.CASCADE + to="casas.Orgao", on_delete=models.CASCADE ), ), ], @@ -220,7 +220,7 @@ class Migration(migrations.Migration): "casa_legislativa", models.ForeignKey( verbose_name="Casa Legislativa", - to="casas.CasaLegislativa", + to="casas.Orgao", on_delete=models.CASCADE, ), ),