from django.conf.urls import patterns, url from apps.issues.views import IssueDetailView, IssueAdvanceView, IssueOnBoardView, IssueCreateView urlpatterns = patterns('', url(r'^create/$', IssueCreateView.as_view(), name='issue-create'), url(r'^(?P<pk>\d+)/$', IssueDetailView.as_view(), name='issue-detail'), url(r'^(?P<pk>\d+)/advance/$', IssueAdvanceView.as_view(), name='issue-advance'), url(r'^(?P<pk>\d+)/onboard/$', IssueOnBoardView.as_view(), name='issue-onboard'), )
def get_view(self): return IssueCreateView.as_view()