mirror of https://github.com/interlegis/sapl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.5 KiB
30 lines
1.5 KiB
from django.conf.urls import include, url
|
|
from sapl.comissoes.views import (AdicionaPautaView, CargoComissaoCrud, ComissaoCrud,
|
|
ComposicaoCrud, DocumentoAcessorioCrud,
|
|
MateriasTramitacaoListView, ParticipacaoCrud,
|
|
get_participacoes_comissao, PeriodoComposicaoCrud,
|
|
RemovePautaView, ReuniaoCrud, TipoComissaoCrud)
|
|
|
|
from .apps import AppConfig
|
|
|
|
app_name = AppConfig.name
|
|
|
|
urlpatterns = [
|
|
url(r'^comissao/', include(ComissaoCrud.get_urls() +
|
|
ComposicaoCrud.get_urls() +
|
|
ReuniaoCrud.get_urls() +
|
|
ParticipacaoCrud.get_urls() +
|
|
DocumentoAcessorioCrud.get_urls())),
|
|
|
|
url(r'^comissao/(?P<pk>\d+)/materias-em-tramitacao$',
|
|
MateriasTramitacaoListView.as_view(), name='materias_em_tramitacao'),
|
|
|
|
url(r'^comissao/(?P<pk>\d+)/pauta/add', AdicionaPautaView.as_view(), name='pauta_add'),
|
|
url(r'^comissao/(?P<pk>\d+)/pauta/remove', RemovePautaView.as_view(), name='pauta_remove'),
|
|
|
|
url(r'^sistema/comissao/cargo/', include(CargoComissaoCrud.get_urls())),
|
|
url(r'^sistema/comissao/periodo-composicao/',
|
|
include(PeriodoComposicaoCrud.get_urls())),
|
|
url(r'^sistema/comissao/tipo/', include(TipoComissaoCrud.get_urls())),
|
|
url(r'^sistema/comissao/recupera-participacoes', get_participacoes_comissao),
|
|
]
|
|
|