mirror of https://github.com/interlegis/sapl.git
Marcio Mazza
10 years ago
9 changed files with 45 additions and 26 deletions
@ -1,11 +1,14 @@ |
|||
from django.conf.urls import patterns, url |
|||
|
|||
from comissoes.views import ComissaoListView, ComissaoDetailView, ComissaoUpdateView |
|||
from comissoes.views import ( |
|||
ComissaoListView, ComissaoDetailView, ComissaoUpdateView) |
|||
|
|||
|
|||
urlpatterns = patterns( |
|||
'comissoes.views', |
|||
url(r'^$', ComissaoListView.as_view(), name='comissao_list'), |
|||
url(r'^(?P<pk>\d+)$', ComissaoDetailView.as_view(), name='comissao_detail'), |
|||
url(r'^(?P<pk>\d+)/edit$', ComissaoUpdateView.as_view(), name='comissao_update'), |
|||
url(r'^(?P<pk>\d+)$', ComissaoDetailView.as_view(), |
|||
name='comissao_detail'), |
|||
url(r'^(?P<pk>\d+)/edit$', ComissaoUpdateView.as_view(), |
|||
name='comissao_update'), |
|||
) |
|||
|
@ -1,12 +1,16 @@ |
|||
from django.conf.urls import patterns, url |
|||
|
|||
from sessao.views import SessaoPlenariaListView, SessaoPlenariaDetailView, SessaoPlenariaCreateView, SessaoPlenariaUpdateView |
|||
from sessao.views import (SessaoPlenariaListView, SessaoPlenariaDetailView, |
|||
SessaoPlenariaCreateView, SessaoPlenariaUpdateView) |
|||
|
|||
|
|||
urlpatterns = patterns( |
|||
'sessao.views', |
|||
url(r'^$', SessaoPlenariaListView.as_view(), name='sessao_list'), |
|||
url(r'^(?P<pk>\d+)$', SessaoPlenariaDetailView.as_view(), name='sessao_detail'), |
|||
url(r'^create$', SessaoPlenariaCreateView.as_view(), name='sessao_create'), |
|||
url(r'^(?P<pk>\d+)/edit$', SessaoPlenariaUpdateView.as_view(), name='sessao_update'), |
|||
url(r'^(?P<pk>\d+)$', SessaoPlenariaDetailView.as_view(), |
|||
name='sessao_detail'), |
|||
url(r'^create$', SessaoPlenariaCreateView.as_view(), |
|||
name='sessao_create'), |
|||
url(r'^(?P<pk>\d+)/edit$', SessaoPlenariaUpdateView.as_view(), |
|||
name='sessao_update'), |
|||
) |
|||
|
Loading…
Reference in new issue