aboutsummaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorAndy Doan <andy.doan@linaro.org>2015-11-10 15:25:02 -0600
committerAndy Doan <andy.doan+gerrit@linaro.org>2015-11-24 15:42:41 +0000
commit3c1bf4b96091a29779028eb7f9c398061864a6f6 (patch)
treeb33125b6e79feee74c459ce4b442cd08e5bb7a17 /urls.py
parentff26af5da18273d7b553c104ac9dd79747091109 (diff)
reports: Add per region region report
This can be done by just making the original country report more generalized. Creates equivalent for: <https://weblogs.linaro.org/restricted/releases.linaro.org/reports/report.html?cycle=2015.08&report=region_isp> Change-Id: I4c7ddad235f53550261f53cafe050e3f72ceb0bb
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/urls.py b/urls.py
index 0659a51..e511b00 100644
--- a/urls.py
+++ b/urls.py
@@ -79,6 +79,8 @@ urlpatterns = patterns(
'license_protected_downloads.views.reports_month_downloads'),
url(r'^reports/(?P<year_month>\d{4}\.\d{2})/country/$',
'license_protected_downloads.views.reports_month_country'),
+ url(r'^reports/(?P<year_month>\d{4}\.\d{2})/region/$',
+ 'license_protected_downloads.views.reports_month_region'),
# Catch-all. We always return a file (or try to) if it exists.
# This handler does that.