From cdf8077985f37954a7b2b0fa0b59543feb1069af Mon Sep 17 00:00:00 2001 From: Luciano Almeida Date: Tue, 16 Aug 2016 15:43:58 -0300 Subject: [PATCH] =?UTF-8?q?Arruma=20settings=20da=20migra=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Luciano Almeida --- sapl/legacy_migration_settings.py | 2 +- sapl/materia/legacy.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sapl/legacy_migration_settings.py b/sapl/legacy_migration_settings.py index 4bc92976e..aef9cc90b 100644 --- a/sapl/legacy_migration_settings.py +++ b/sapl/legacy_migration_settings.py @@ -3,7 +3,7 @@ from .settings import * # flake8: noqa INSTALLED_APPS += ( - 'legacy', # legacy reversed model definitions + 'sapl.legacy', # legacy reversed model definitions ) DATABASES['legacy'] = { diff --git a/sapl/materia/legacy.yaml b/sapl/materia/legacy.yaml index 8a46136e8..afcd1b70b 100644 --- a/sapl/materia/legacy.yaml +++ b/sapl/materia/legacy.yaml @@ -126,8 +126,8 @@ TipoProposicao: descricao: des_tipo_proposicao materia_ou_documento: ind_mat_ou_doc modelo: nom_modelo - tipo_documento: - tipo_materia: + tipo_documento: + tipo_materia: Proposicao: autor: cod_autor