Added a proper job_detail page that display information, and reloads itself.
[ais.git] / bin / djais / urls.py
index 3f1d1aa5c7fe0bcc10d7aa52afc60b179a9d5737..2b55a94e309c88dab9e74a093347b167418bee56 100644 (file)
@@ -30,7 +30,8 @@ urlpatterns = patterns('',
     (r'^user/(?P<login>[a-zA-Z0-9_]+)/change_password$', 'ais.djais.views.user_change_password'),
     (r'^user/(?P<login>[a-zA-Z0-9_]+)/delete$', 'ais.djais.views.user_delete'),
     (r'^job/$', 'ais.djais.views.jobs_index'),
-    (r'^job/(?P<jobid>[A-Z0-9]+)$', 'ais.djais.views.job_get'),
+    (r'^job/(?P<jobid>[A-Z0-9]+)/$', 'ais.djais.views.job_detail'),
+    (r'^job/(?P<jobid>[A-Z0-9]+)/download$', 'ais.djais.views.job_get'),
     (r'^source/$', 'ais.djais.views.sources_index'),
     (r'^source/stats$', 'ais.djais.views.sources_stats'),
     (r'^news/(?P<page>\d*)$', 'ais.djais.views.news'),