|
@ -21,6 +21,7 @@ from django.views.generic.base import RedirectView |
|
|
from django.views.generic.edit import FormView |
|
|
from django.views.generic.edit import FormView |
|
|
from django_filters.views import FilterView |
|
|
from django_filters.views import FilterView |
|
|
|
|
|
|
|
|
|
|
|
import sapl |
|
|
from sapl.base.models import Autor, CasaLegislativa |
|
|
from sapl.base.models import Autor, CasaLegislativa |
|
|
from sapl.compilacao.views import IntegracaoTaView |
|
|
from sapl.compilacao.views import IntegracaoTaView |
|
|
from sapl.crispy_layout_mixin import SaplFormLayout, form_actions |
|
|
from sapl.crispy_layout_mixin import SaplFormLayout, form_actions |
|
@ -28,7 +29,6 @@ from sapl.crud.base import (ACTION_CREATE, ACTION_DELETE, ACTION_DETAIL, |
|
|
ACTION_LIST, ACTION_UPDATE, RP_DETAIL, RP_LIST, |
|
|
ACTION_LIST, ACTION_UPDATE, RP_DETAIL, RP_LIST, |
|
|
Crud, CrudAux, MasterDetailCrud, |
|
|
Crud, CrudAux, MasterDetailCrud, |
|
|
PermissionRequiredForAppCrudMixin, make_pagination) |
|
|
PermissionRequiredForAppCrudMixin, make_pagination) |
|
|
from sapl.materia import apps |
|
|
|
|
|
from sapl.materia.forms import (AnexadaForm, ConfirmarProposicaoForm, |
|
|
from sapl.materia.forms import (AnexadaForm, ConfirmarProposicaoForm, |
|
|
LegislacaoCitadaForm, ProposicaoForm, |
|
|
LegislacaoCitadaForm, ProposicaoForm, |
|
|
TipoProposicaoForm) |
|
|
TipoProposicaoForm) |
|
@ -36,7 +36,6 @@ from sapl.norma.models import LegislacaoCitada |
|
|
from sapl.utils import (TURNO_TRAMITACAO_CHOICES, YES_NO_CHOICES, autor_label, |
|
|
from sapl.utils import (TURNO_TRAMITACAO_CHOICES, YES_NO_CHOICES, autor_label, |
|
|
autor_modal, gerar_hash_arquivo, get_base_url, |
|
|
autor_modal, gerar_hash_arquivo, get_base_url, |
|
|
montar_row_autor) |
|
|
montar_row_autor) |
|
|
import sapl |
|
|
|
|
|
|
|
|
|
|
|
from .forms import (AcessorioEmLoteFilterSet, AcompanhamentoMateriaForm, |
|
|
from .forms import (AcessorioEmLoteFilterSet, AcompanhamentoMateriaForm, |
|
|
DocumentoAcessorioForm, MateriaLegislativaFilterSet, |
|
|
DocumentoAcessorioForm, MateriaLegislativaFilterSet, |
|
@ -51,7 +50,6 @@ from .models import (AcompanhamentoMateria, Anexada, Autoria, DespachoInicial, |
|
|
TipoMateriaLegislativa, TipoProposicao, Tramitacao, |
|
|
TipoMateriaLegislativa, TipoProposicao, Tramitacao, |
|
|
UnidadeTramitacao) |
|
|
UnidadeTramitacao) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OrigemCrud = Crud.build(Origem, '') |
|
|
OrigemCrud = Crud.build(Origem, '') |
|
|
|
|
|
|
|
|
TipoMateriaCrud = CrudAux.build( |
|
|
TipoMateriaCrud = CrudAux.build( |
|
|