url(r'^projects/$', ProjectList.as_view(), name="project-list"), url(r'^project/(?P<pk>[0-9a-z\-]+)/$', ProjectDetail.as_view(), name="project-detail"), url(r'^workflows/$', WorkflowList.as_view(), name="workflow-list"), url(r'^workflow/(?P<pk>[0-9a-z\-]+)/$', WorkflowDetail.as_view(), name="workflow-detail"), url(r'^workflowjobs/$', WorkflowJobList.as_view(), name="workflowjob-list"), url(r'^workflowjob/(?P<pk>[0-9a-z\-]+)/$', WorkflowJobDetail.as_view(), name="workflowjob-detail"), url(r'^pages/$', PageList.as_view(), name="page-list"), url(r'^page/(?P<pk>[0-9a-z\-]+)/$', PageDetail.as_view(), name="page-detail"), url(r'^jobs/$', JobList.as_view(), name="job-list"), url(r'^job/(?P<pk>[0-9a-z\-]+)/$', JobDetail.as_view(), name="job-detail"), url(r'^results/$', ResultList.as_view(), name="result-list"), url(r'^result/(?P<pk>[0-9a-z\-]+)/$', ResultDetail.as_view(), name="result-detail"), url(r'^users/$', UserList.as_view(), name="user-list"), url(r'^user/(?P<pk>[0-9]+)/$', UserDetail.as_view(), name="user-detail"), url(r'^workflowruns/$', WorkflowRunList.as_view(), name="workflowrun-list"), url(r'^workflowrun/(?P<pk>[0-9a-z\-]+)/$', WorkflowRunDetail.as_view(), name="workflowrun-detail"), url(r'^runjobs/$', RunJobList.as_view(), name="runjob-list"), url(r'^runjob/(?P<pk>[0-9a-z\-]+)/$', RunJobDetail.as_view(), name="runjob-detail"), url(r'^resultspackages/$', ResultsPackageList.as_view(), name="resultspackage-list"), url(r'^resultspackage/(?P<pk>[0-9a-z\-]+)/$', ResultsPackageDetail.as_view(), name="resultspackage-detail"), ) ) urlpatterns += patterns('', url(r'^interactive/poly_mask/$', interactive.PolyMaskView.as_view()), url(r'^interactive/crop/$', interactive.CropView.as_view()), url(r'^interactive/binarise/$', interactive.BinariseView.as_view()), url(r'^interactive/despeckle/$', interactive.DespeckleView.as_view()), url(r'^interactive/rotate/$', interactive.RotateView.as_view()), url(r'^interactive/segment/$', interactive.SegmentView.as_view()), url(r'^interactive/luminance/$', interactive.LuminanceView.as_view()),
url(r"^users/$", UserList.as_view(), name="user-list"), url(r"^user/(?P<pk>[0-9\-]+)/$", UserDetail.as_view(), name="user-detail"), url( r"^userpreferences/$", UserPreferenceList.as_view(), name="userpreference-list", ), url( r"^userpreference/(?P<pk>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/$", UserPreferenceDetail.as_view(), name="userpreference-detail", ), url(r"^workflowruns/$", WorkflowRunList.as_view(), name="workflowrun-list"), url( r"^workflowrun/(?P<pk>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/$", WorkflowRunDetail.as_view(), name="workflowrun-detail", ), url(r"^runjobs/$", RunJobList.as_view(), name="runjob-list"), url( r"^runjob/(?P<pk>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/$", RunJobDetail.as_view(), name="runjob-detail", ), url( r"^resultspackages/$", ResultsPackageList.as_view(), name="resultspackage-list", ), url( r"^resultspackage/(?P<pk>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/$",
url(r'^project/(?P<pk>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/admins/$', ProjectDetailAdmins.as_view(), name="project-detail-admins"), url(r'^project/(?P<pk>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/workers/$', ProjectDetailWorkers.as_view(), name="project-detail-workers"), url(r'^workflows/$', WorkflowList.as_view(), name="workflow-list"), url(r'^workflow/(?P<pk>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/$', WorkflowDetail.as_view(), name="workflow-detail"), url(r'^workflowjobs/$', WorkflowJobList.as_view(), name="workflowjob-list"), url(r'^workflowjob/(?P<pk>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/$', WorkflowJobDetail.as_view(), name="workflowjob-detail"), url(r'^workflowjobgroups/$', WorkflowJobGroupList.as_view(), name="workflowjobgroup-list"), url(r'^workflowjobgroup/(?P<pk>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/$', WorkflowJobGroupDetail.as_view(), name="workflowjobgroup-detail"), url(r'^jobs/$', JobList.as_view(), name="job-list"), url(r'^job/(?P<pk>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/$', JobDetail.as_view(), name="job-detail"), url(r'^users/$', UserList.as_view(), name="user-list"), url(r'^user/(?P<pk>[0-9\-]+)/$', UserDetail.as_view(), name="user-detail"), url(r'^userpreferences/$', UserPreferenceList.as_view(), name="userpreference-list"), url(r'^userpreference/(?P<pk>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/$', UserPreferenceDetail.as_view(), name="userpreference-detail"), url(r'^workflowruns/$', WorkflowRunList.as_view(), name="workflowrun-list"), url(r'^workflowrun/(?P<pk>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/$', WorkflowRunDetail.as_view(), name="workflowrun-detail"), url(r'^runjobs/$', RunJobList.as_view(), name="runjob-list"), url(r'^runjob/(?P<pk>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/$', RunJobDetail.as_view(), name="runjob-detail"), url(r'^resultspackages/$', ResultsPackageList.as_view(), name="resultspackage-list"), url(r'^resultspackage/(?P<pk>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/$', ResultsPackageDetail.as_view(), name="resultspackage-detail"), url(r'^connections/$', ConnectionList.as_view(), name="connection-list"), url(r'^connection/(?P<pk>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/$', ConnectionDetail.as_view(), name="connection-detail"), url(r'^outputporttypes/$', OutputPortTypeList.as_view(), name="outputporttype-list"), url(r'^outputporttype/(?P<pk>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/$', OutputPortTypeDetail.as_view(), name="outputporttype-detail"), url(r'^outputports/$', OutputPortList.as_view(), name="outputport-list"), url(r'^outputport/(?P<pk>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/$', OutputPortDetail.as_view(), name="outputport-detail"), url(r'^inputporttypes/$', InputPortTypeList.as_view(), name="inputporttype-list"), url(r'^inputporttype/(?P<pk>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/$', InputPortTypeDetail.as_view(), name="inputporttype-detail"), url(r'^inputports/$', InputPortList.as_view(), name="inputport-list"), url(r'^inputport/(?P<pk>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})/$', InputPortDetail.as_view(), name="inputport-detail"), url(r'^resources/$', ResourceList.as_view(), name="resource-list"),