blob: fdb0a67bcdfdc9b237fc87eacf26d7a25ab45d63 [file] [log] [blame]
# 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
COMMON_URL = r'[\w\-.=&]+'
# Order is important. chartdiff and chartreport must come before chart.
urlpatterns = defaults.patterns(
'frontend.croschart.views',
(r'^chartdiff?%s$' % COMMON_URL, 'PlotChartDiff'),
(r'^chartplatforms?%s$' % COMMON_URL, 'PlotChartPlatforms'),
(r'^chartreport?%s$' % COMMON_URL, 'PlotChartReport'),
(r'^chart?%s$' % COMMON_URL, 'PlotChart'),
(r'^releasereport?%s$' % COMMON_URL, 'PlotReleaseReport'),
(r'^testreport?%s$' % COMMON_URL, 'PlotTestReport'),
(r'^labtestreport?%s$' % COMMON_URL, 'PlotLabTestReport'))