| Index: frontend/croschart/urls.py
|
| diff --git a/frontend/croschart/urls.py b/frontend/croschart/urls.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d67eece6926cd4f6b14fc1966dde717bc6955e28
|
| --- /dev/null
|
| +++ b/frontend/croschart/urls.py
|
| @@ -0,0 +1,42 @@
|
| +# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +from django.conf.urls import defaults
|
| +import common
|
| +
|
| +urlpatterns = defaults.patterns(
|
| + '',
|
| + (r'^(?P<boards>[\w\-&]*)/'
|
| + '(?P<netbook>[\w\-]*)/'
|
| + '(?P<from_build>0\.\d{1,3}\.\d{1,3}\.\d{1,3})/'
|
| + '(?P<to_build>0\.\d{1,3}\.\d{1,3}\.\d{1,3})/'
|
| + '(?P<test_name>[\w\-\.]+)/'
|
| + '(?P<test_key>[\w\-\.]+)/'
|
| + '(?P<width>[\d]+)/'
|
| + '(?P<height>[\d]+)/$',
|
| + 'frontend.croschart.views.PlotChartFromBuilds'),
|
| + (r'^(?P<boards>[\w\-&]+)/'
|
| + '(?P<netbook>[\w\-]+)/'
|
| + '(?P<test_name>[\w\-\.]+)/'
|
| + '(?P<test_key>[\w\-\.]+)/'
|
| + '(?P<width>[\d]+)/'
|
| + '(?P<height>[\d]+)/$',
|
| + 'frontend.croschart.views.PlotChart'),
|
| + (r'^charts/'
|
| + '(?P<boards>[\w\-&]+)/'
|
| + '(?P<netbook>[\w\-]+)/'
|
| + '(?P<from_build>0\.\d{1,3}\.\d{1,3}\.\d{1,3})/'
|
| + '(?P<to_build>0\.\d{1,3}\.\d{1,3}\.\d{1,3})/'
|
| + '(?P<test_key_names>[\w\-,&\.]+)/'
|
| + '(?P<width>[\d]+)/'
|
| + '(?P<height>[\d]+)/$',
|
| + 'frontend.croschart.views.FrameChartsTestsKeys'),
|
| + (r'^charts/'
|
| + '(?P<boards>[\w\-&]+)/'
|
| + '(?P<netbook>[\w\-]+)/'
|
| + '(?P<width>[\d]+)/'
|
| + '(?P<height>[\d]+)/$',
|
| + 'frontend.croschart.views.FrameChartsBoardNetbook'),
|
| + (r'^charts/$', 'frontend.croschart.views.FrameCharts'),
|
| + (r'^$', 'frontend.croschart.views.ChartChoices'))
|
|
|