Sistema de Apoio ao Processo Legislativo
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.

34 lines
1.3 KiB

from django.conf.urls import include, url
from comissoes.views import (CargoCrud, ComissaoCrud,
ComissaoParlamentarEditView,
9 years ago
ComissaoParlamentarIncluirView, ComposicaoView,
MateriasTramitacaoListView, PeriodoComposicaoCrud,
TipoComissaoCrud)
from .apps import AppConfig
app_name = AppConfig.name
urlpatterns = [
url(r'^comissoes/', include(ComissaoCrud.get_urls())),
url(r'^comissoes/(?P<pk>\d+)/composicao$',
10 years ago
ComposicaoView.as_view(), name='composicao'),
url(r'^comissoes/(?P<pk>\d+)/materias-em-tramitacao$',
MateriasTramitacaoListView.as_view(), name='materias_em_tramitacao'),
url(r'^comissoes/(?P<pk>\d+)/composicao/(?P<id>\d+)/parlamentar$',
9 years ago
ComissaoParlamentarIncluirView.as_view(),
name='comissao_parlamentar'),
url(r'''^comissoes/(?P<pk>\d+)/composicao/(?P<cd>\d+)/
parlamentar/(?P<id>\d+)/edit$''',
9 years ago
ComissaoParlamentarEditView.as_view(),
name='comissao_parlamentar_edit'),
url(r'^sistema/comissoes/cargo/', include(CargoCrud.get_urls())),
url(r'^sistema/comissoes/periodo-composicao/',
include(PeriodoComposicaoCrud.get_urls())),
url(r'^sistema/comissoes/tipo/', include(TipoComissaoCrud.get_urls())),
]