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.
70 lines
3.7 KiB
70 lines
3.7 KiB
from django.conf.urls import include, url
|
|
|
|
from sessao.views import (EditExpedienteOrdemDiaView, EditMateriaOrdemDiaView,
|
|
ExpedienteOrdemDiaView, ExpedienteView,
|
|
ExplicacaoDelete, ExplicacaoEdit, ExplicacaoView,
|
|
ListExpedienteOrdemDiaView, ListMateriaOrdemDiaView,
|
|
MateriaOrdemDiaView, MesaView,
|
|
OradorExpedienteDelete, OradorExpedienteEdit,
|
|
OradorExpedienteView, PainelView,
|
|
PresencaOrdemDiaView, PresencaView, ResumoView,
|
|
VotacaoNomimalView, VotacaoSecretaView,
|
|
VotacaoSimbolicaView, sessao_crud,
|
|
tipo_expediente_crud, tipo_resultado_votacao_crud,
|
|
tipo_sessao_crud)
|
|
|
|
urlpatterns_sessao = sessao_crud.urlpatterns + [
|
|
url(r'^(?P<pk>\d+)/expediente$',
|
|
ExpedienteView.as_view(), name='expediente'),
|
|
url(r'^(?P<pk>\d+)/presenca$',
|
|
PresencaView.as_view(), name='presenca'),
|
|
url(r'^(?P<pk>\d+)/painel$',
|
|
PainelView.as_view(), name='painel'),
|
|
url(r'^(?P<pk>\d+)/presencaordemdia$',
|
|
PresencaOrdemDiaView.as_view(),
|
|
name='presencaordemdia'),
|
|
url(r'^(?P<pk>\d+)/oradorexpediente$',
|
|
OradorExpedienteView.as_view(), name='oradorexpediente'),
|
|
url(r'^(?P<pk>\d+)/oradorexpediente/excluir/(?P<oid>\d+)$',
|
|
OradorExpedienteDelete.as_view(), name='oradorexcluir'),
|
|
url(r'^(?P<pk>\d+)/oradorexpediente/editar/(?P<oid>\d+)$',
|
|
OradorExpedienteEdit.as_view(), name='oradoreditar'),
|
|
url(r'^(?P<pk>\d+)/mesa$', MesaView.as_view(), name='mesa'),
|
|
url(r'^(?P<pk>\d+)/materiaordemdia/list$',
|
|
ListMateriaOrdemDiaView.as_view(), name='materiaordemdia_list'),
|
|
url(r'^(?P<pk>\d+)/materiaordemdia/edit/(?P<oid>\d+)$',
|
|
EditMateriaOrdemDiaView.as_view(), name='materiaordemdia_edit'),
|
|
url(r'^(?P<pk>\d+)/materiaordemdia/create$',
|
|
MateriaOrdemDiaView.as_view(), name='materiaordemdia_create'),
|
|
url(r'^(?P<pk>\d+)/expedienteordemdia/list$',
|
|
ListExpedienteOrdemDiaView.as_view(), name='expedienteordemdia_list'),
|
|
url(r'^(?P<pk>\d+)/expedienteordemdia/edit/(?P<oid>\d+)$',
|
|
EditExpedienteOrdemDiaView.as_view(), name='expedienteordemdia_edit'),
|
|
url(r'^(?P<pk>\d+)/expedienteordemdia/create$',
|
|
ExpedienteOrdemDiaView.as_view(), name='expedienteordemdia_create'),
|
|
url(r'^(?P<pk>\d+)/resumo$',
|
|
ResumoView.as_view(), name='resumo'),
|
|
url(r'^(?P<pk>\d+)/explicacao$',
|
|
ExplicacaoView.as_view(), name='explicacao'),
|
|
url(r'^(?P<pk>\d+)/explicacao/excluir/(?P<oid>\d+)$',
|
|
ExplicacaoDelete.as_view(), name='explicacaoexcluir'),
|
|
url(r'^(?P<pk>\d+)/explicacao/editar/(?P<oid>\d+)$',
|
|
ExplicacaoEdit.as_view(), name='explicacaoeditar'),
|
|
url(r'^(?P<pk>\d+)/materiaordemdia/votacaosimbolica/(?P<oid>\d+)/(?P<mid>\d+)$',
|
|
VotacaoSimbolicaView.as_view(), name='votacaosimbolica'),
|
|
url(r'^(?P<pk>\d+)/materiaordemdia/votacaonominal/(?P<oid>\d+)$',
|
|
VotacaoNomimalView.as_view(), name='votacaonominal'),
|
|
url(r'^(?P<pk>\d+)/materiaordemdia/votacaosecreta/(?P<oid>\d+)$',
|
|
VotacaoSecretaView.as_view(), name='votacaosecreta'),
|
|
]
|
|
sessao_urls = urlpatterns_sessao, sessao_crud.namespace, sessao_crud.namespace
|
|
|
|
urlpatterns = [
|
|
url(r'^sessao/', include(urlpatterns_sessao,
|
|
sessao_crud.namespace, sessao_crud.namespace)),
|
|
url(r'^sistema/sessao-plenaria/tipo/', include(tipo_sessao_crud.urls)),
|
|
url(r'^sistema/sessao-plenaria/tipo-resultado-votacao/',
|
|
include(tipo_resultado_votacao_crud.urls)),
|
|
url(r'^sistema/sessao-plenaria/tipo-expediente/',
|
|
include(tipo_expediente_crud.urls)),
|
|
]
|
|
|