aboutsummaryrefslogtreecommitdiff
path: root/proposals/urls.py
blob: 5a33b6fd23c4039760ab6dcc7c036d909dc91ec2 (plain)
1
2
3
4
5
6
7
8
9
from django.conf.urls import patterns, include, url

from proposals.views import ProposalUpdateView, ProposalCreationForm


urlpatterns = patterns('proposals.views',
    url(r'(?P<pk>[0-9]+)$', ProposalUpdateView.as_view(), name='update'),
    url(r'create/$', ProposalCreationForm.as_view(), name='create'),
)