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 django.conf.urls import patterns, url |
||||
|
|
||||
from comissoes.views import ComissaoListView, ComissaoDetailView, ComissaoUpdateView |
from comissoes.views import ( |
||||
|
ComissaoListView, ComissaoDetailView, ComissaoUpdateView) |
||||
|
|
||||
|
|
||||
urlpatterns = patterns( |
urlpatterns = patterns( |
||||
'comissoes.views', |
'comissoes.views', |
||||
url(r'^$', ComissaoListView.as_view(), name='comissao_list'), |
url(r'^$', ComissaoListView.as_view(), name='comissao_list'), |
||||
url(r'^(?P<pk>\d+)$', ComissaoDetailView.as_view(), name='comissao_detail'), |
url(r'^(?P<pk>\d+)$', ComissaoDetailView.as_view(), |
||||
url(r'^(?P<pk>\d+)/edit$', ComissaoUpdateView.as_view(), name='comissao_update'), |
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 django.conf.urls import patterns, url |
||||
|
|
||||
from sessao.views import SessaoPlenariaListView, SessaoPlenariaDetailView, SessaoPlenariaCreateView, SessaoPlenariaUpdateView |
from sessao.views import (SessaoPlenariaListView, SessaoPlenariaDetailView, |
||||
|
SessaoPlenariaCreateView, SessaoPlenariaUpdateView) |
||||
|
|
||||
|
|
||||
urlpatterns = patterns( |
urlpatterns = patterns( |
||||
'sessao.views', |
'sessao.views', |
||||
url(r'^$', SessaoPlenariaListView.as_view(), name='sessao_list'), |
url(r'^$', SessaoPlenariaListView.as_view(), name='sessao_list'), |
||||
url(r'^(?P<pk>\d+)$', SessaoPlenariaDetailView.as_view(), name='sessao_detail'), |
url(r'^(?P<pk>\d+)$', SessaoPlenariaDetailView.as_view(), |
||||
url(r'^create$', SessaoPlenariaCreateView.as_view(), name='sessao_create'), |
name='sessao_detail'), |
||||
url(r'^(?P<pk>\d+)/edit$', SessaoPlenariaUpdateView.as_view(), name='sessao_update'), |
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