Commit e1c154f9 authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

fix routes (pattern matching)

parent 0604714a
...@@ -6,6 +6,6 @@ app_name = 'api' ...@@ -6,6 +6,6 @@ app_name = 'api'
urlpatterns = [ urlpatterns = [
url(r'^jobs$', views.jobs, name='jobs'), url(r'^jobs$', views.jobs, name='jobs'),
url(r'^jobs/(?P<pk>\d+)', views.APIJobView.as_view(), name='job'), url(r'^jobs/(?P<pk>\d+)$', views.APIJobView.as_view(), name='job'),
url(r'^datastore/(?P<pk>\d+)/(.*)', views.APIDownloadView.as_view(), name='download'), url(r'^datastore/(?P<pk>\d+)/(.*)$', views.APIDownloadView.as_view(), name='download'),
] ]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment