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.
35 lines
1.5 KiB
35 lines
1.5 KiB
from django.conf.urls import include, url
|
|
|
|
from comissoes.views import (ComissaoParlamentarEditView,
|
|
ComissaoParlamentarIncluirView, ComposicaoView,
|
|
MateriasView, ReunioesView, cargo_crud,
|
|
comissao_crud, periodo_composicao_crud,
|
|
tipo_comissao_crud,CadastrarComissaoView)
|
|
|
|
comissao_url_patterns = comissao_crud.urlpatterns + [
|
|
url(r'^(?P<pk>\d+)/composicao$',
|
|
ComposicaoView.as_view(), name='composicao'),
|
|
url(r'^(?P<pk>\d+)/composicao/(?P<id>\d+)/parlamentar$',
|
|
ComissaoParlamentarIncluirView.as_view(),
|
|
name='comissao_parlamentar'),
|
|
url(r'^(?P<pk>\d+)/composicao/parlamentar/(?P<id>\d+)/edit$',
|
|
ComissaoParlamentarEditView.as_view(),
|
|
name='comissao_parlamentar_edit'),
|
|
url(r'^(?P<pk>\d+)/materias$',
|
|
MateriasView.as_view(), name='materias'),
|
|
url(r'^(?P<pk>\d+)/reunioes$',
|
|
ReunioesView.as_view(), name='reunioes'),
|
|
url(r'^cadastrar-comissao$',
|
|
CadastrarComissaoView.as_view(), name='cadastrar_comissao'),
|
|
]
|
|
|
|
urlpatterns = [
|
|
url(r'^comissoes/', include(comissao_url_patterns,
|
|
comissao_crud.namespace,
|
|
comissao_crud.namespace)),
|
|
|
|
url(r'^sistema/comissoes/cargo/', include(cargo_crud.urls)),
|
|
url(r'^sistema/comissoes/periodo-composicao/',
|
|
include(periodo_composicao_crud.urls)),
|
|
url(r'^sistema/comissoes/tipo/', include(tipo_comissao_crud.urls)),
|
|
]
|
|
|