mirror of https://github.com/interlegis/sapl.git
Marcio Mazza
10 years ago
1 changed files with 3 additions and 4 deletions
@ -1,14 +1,13 @@ |
|||||
from django.conf.urls import patterns, url |
from django.conf.urls import url |
||||
|
|
||||
from comissoes.views import ( |
from comissoes.views import ( |
||||
ComissaoListView, ComissaoDetailView, ComissaoUpdateView) |
ComissaoListView, ComissaoDetailView, ComissaoUpdateView) |
||||
|
|
||||
|
|
||||
urlpatterns = patterns( |
urlpatterns = [ |
||||
'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(), |
url(r'^(?P<pk>\d+)$', ComissaoDetailView.as_view(), |
||||
name='comissao_detail'), |
name='comissao_detail'), |
||||
url(r'^(?P<pk>\d+)/edit$', ComissaoUpdateView.as_view(), |
url(r'^(?P<pk>\d+)/edit$', ComissaoUpdateView.as_view(), |
||||
name='comissao_update'), |
name='comissao_update'), |
||||
) |
] |
||||
|
Loading…
Reference in new issue