diff mbox

[Branch,~linaro-validation/lava-dashboard/trunk] Rev 233: Allow underscore in URLs to test runs and bundles

Message ID 20110629094126.23938.54912.launchpad@loganberry.canonical.com
State Accepted
Headers show

Commit Message

Zygmunt Krynicki June 29, 2011, 9:41 a.m. UTC
Merge authors:
  Liu Yongqin (liuyq0307)
Related merge proposals:
  https://code.launchpad.net/~liuyq0307/lava-dashboard/bug802957/+merge/66260
  proposed by: Zygmunt Krynicki (zkrynicki)
  review: Approve - Zygmunt Krynicki (zkrynicki)
------------------------------------------------------------
revno: 233 [merge]
fixes bug(s): https://launchpad.net/bugs/802957
committer: Zygmunt Krynicki <zygmunt.krynicki@linaro.org>
branch nick: merge
timestamp: Wed 2011-06-29 10:39:19 +0100
message:
  Allow underscore in URLs to test runs and bundles
modified:
  dashboard_app/urls.py


--
lp:lava-dashboard
https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk

You are subscribed to branch lp:lava-dashboard.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'dashboard_app/urls.py'
--- dashboard_app/urls.py	2011-05-30 17:43:28 +0000
+++ dashboard_app/urls.py	2011-06-29 07:18:00 +0000
@@ -29,8 +29,8 @@ 
     url(r'^test-runs/(?P<analyzer_assigned_uuid>[a-zA-Z0-9-]+)/$', 'test_run_detail'),
     url(r'^test-runs/(?P<analyzer_assigned_uuid>[a-zA-Z0-9-]+)/software-context$', 'test_run_software_context'),
     url(r'^test-runs/(?P<analyzer_assigned_uuid>[a-zA-Z0-9-]+)/hardware-context$', 'test_run_hardware_context'),
-    url(r'^streams(?P<pathname>/[a-zA-Z0-9/-]+)$', 'test_run_list'),
-    url(r'^streams(?P<pathname>/[a-zA-Z0-9/-]+?)\+bundles$', 'bundle_list'),
+    url(r'^streams(?P<pathname>/[a-zA-Z0-9/_-]+)$', 'test_run_list'),
+    url(r'^streams(?P<pathname>/[a-zA-Z0-9/_-]+?)\+bundles$', 'bundle_list'),
     url(r'^attachments/(?P<pk>[0-9]+)/$', 'attachment_detail'),
     url(r'^xml-rpc/', 'dashboard_xml_rpc_handler'),
     url(r'^reports/$', 'report_list'),