OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 from django.conf.urls import defaults |
| 6 import common |
| 7 |
| 8 urlpatterns = defaults.patterns( |
| 9 '', |
| 10 (r'^(?P<boards>[\w\-&]*)/' |
| 11 '(?P<netbook>[\w\-]*)/' |
| 12 '(?P<from_build>0\.\d{1,3}\.\d{1,3}\.\d{1,3})/' |
| 13 '(?P<to_build>0\.\d{1,3}\.\d{1,3}\.\d{1,3})/' |
| 14 '(?P<test_name>[\w\-\.]+)/' |
| 15 '(?P<test_key>[\w\-\.]+)/' |
| 16 '(?P<width>[\d]+)/' |
| 17 '(?P<height>[\d]+)/$', |
| 18 'frontend.croschart.views.PlotChartFromBuilds'), |
| 19 (r'^(?P<boards>[\w\-&]+)/' |
| 20 '(?P<netbook>[\w\-]+)/' |
| 21 '(?P<test_name>[\w\-\.]+)/' |
| 22 '(?P<test_key>[\w\-\.]+)/' |
| 23 '(?P<width>[\d]+)/' |
| 24 '(?P<height>[\d]+)/$', |
| 25 'frontend.croschart.views.PlotChartInterval'), |
| 26 (r'^charts/' |
| 27 '(?P<boards>[\w\-&]+)/' |
| 28 '(?P<netbook>[\w\-]+)/' |
| 29 '(?P<from_build>0\.\d{1,3}\.\d{1,3}\.\d{1,3})/' |
| 30 '(?P<to_build>0\.\d{1,3}\.\d{1,3}\.\d{1,3})/' |
| 31 '(?P<test_key_names>[\w\-,&\.]+)/' |
| 32 '(?P<width>[\d]+)/' |
| 33 '(?P<height>[\d]+)/$', |
| 34 'frontend.croschart.views.FrameChartsTestsKeys'), |
| 35 (r'^charts/' |
| 36 '(?P<boards>[\w\-&]+)/' |
| 37 '(?P<netbook>[\w\-]+)/' |
| 38 '(?P<width>[\d]+)/' |
| 39 '(?P<height>[\d]+)/$', |
| 40 'frontend.croschart.views.FrameChartsBoardNetbook')) |
OLD | NEW |