diff --git a/sapl/legacy/migration.py b/sapl/legacy/migration.py index 05ea4a03c..6e24eb987 100644 --- a/sapl/legacy/migration.py +++ b/sapl/legacy/migration.py @@ -11,19 +11,16 @@ from django.contrib.auth import get_user_model from django.contrib.auth.models import Group from django.contrib.contenttypes.models import ContentType from django.core.exceptions import ObjectDoesNotExist -from django.db import OperationalError, ProgrammingError, connections, models -from django.db.models import CharField, Count, Max, ProtectedError, TextField +from django.db import ProgrammingError, connections, models +from django.db.models import CharField, Count, Max, TextField from django.db.models.base import ModelBase -from django.db.models.signals import post_delete, post_save from model_mommy import mommy from model_mommy.mommy import foreign_key_required, make from sapl.base.models import (Argumento, Autor, Constraint, ProblemaMigracao, TipoAutor) from sapl.comissoes.models import Comissao, Composicao, Participacao -from sapl.legacy.models import Protocolo as ProtocoloLegado -from sapl.materia.models import (AcompanhamentoMateria, DocumentoAcessorio, - MateriaLegislativa, Proposicao, +from sapl.materia.models import (AcompanhamentoMateria, Proposicao, StatusTramitacao, TipoDocumento, TipoMateriaLegislativa, TipoProposicao, Tramitacao)