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.

30 lines
1.1 KiB

from django.conf.urls import include, url
9 years ago
from norma.views import (NormaEditView, NormaIncluirView, NormaPesquisaView,
NormaTaView, PesquisaNormaListView,
assunto_norma_crud, norma_temporario_crud,
tipo_norma_crud)
# FIXME???? usar norma_crud ????
norma_url_patterns, namespace = norma_temporario_crud.get_urls()
norma_url_patterns += [
url(r'^norma/(?P<pk>[0-9]+)/ta$',
NormaTaView.as_view(), name='ta')
]
urlpatterns = [
url(r'^norma/', include(norma_url_patterns, namespace)),
url(r'^sistema/norma/tipo/', include(tipo_norma_crud.get_urls())),
url(r'^sistema/norma/assunto/', include(assunto_norma_crud.get_urls())),
url(r'^norma/incluir$', NormaIncluirView.as_view(), name='norma_incluir'),
url(r'^norma/(?P<pk>[0-9]+)/editar$',
NormaEditView.as_view(), name='norma_editar'),
url(r'^norma/pesquisa$',
9 years ago
NormaPesquisaView.as_view(), name='norma_pesquisa'),
url(r'^norma/pesquisa-resultado$',
9 years ago
PesquisaNormaListView.as_view(), name='list_pesquisa_norma'),
]