from django.conf.urls import patterns, url from comissoes.views import ComissaoListView, ComissaoDetailView, ComissaoUpdateView urlpatterns = patterns( 'comissoes.views', url(r'^$', ComissaoListView.as_view(), name='comissao_list'), url(r'^(?P\d+)$', ComissaoDetailView.as_view(), name='comissao_detail'), url(r'^(?P\d+)/edit$', ComissaoUpdateView.as_view(), name='comissao_update'), )