from django.conf.urls import patterns, url

from perspectives import views


urlpatterns = patterns('',
    url(r'^$', views.InitiativeIndexView.as_view(), name='list'),
    url(r'^(?P<pk>\d+)/$', views.InitiativeDetailView.as_view(), name='detail'),
    url(r'^add/$', views.InitiativeAddView.as_view(), name='add'),
    url(r'^(?P<pk>\d+)/edit$', views.InitiativeEditView.as_view(), name='edit'),
)
