aboutsummaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorci test bot <citestbot@example.com>2015-12-07 15:50:18 -0600
committerAndy Doan <andy.doan+gerrit@linaro.org>2015-12-11 15:13:49 +0000
commitd07d5938f10b0c53f84ec9455e23bd4a38a4a701 (patch)
treeaccf58d728bf37fcfdcce1529ab17d187b4d28af /urls.py
parentc7f2c8e8c12f3398002b1acdc42cdaf4c4656ac8 (diff)
reports: add a report for region/isp data for a given download
Change-Id: I318a185157eeaff17342fa108dd28bebe66d0906 Reviewed-on: https://review.linaro.org/9492 Reviewed-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index 24c24f9..92cf42e 100644
--- a/urls.py
+++ b/urls.py
@@ -79,8 +79,10 @@ if settings.TRACK_DOWNLOAD_STATS:
url(r'^reports/$',
'license_protected_downloads.views.reports'),
- url(r'^reports/(?P<year_month>\d{4}\.\d{2})/downloads/',
+ url(r'^reports/(?P<year_month>\d{4}\.\d{2})/downloads/$',
'license_protected_downloads.views.reports_month_downloads'),
+ url(r'^reports/(?P<year_month>\d{4}\.\d{2})/downloads(?P<name>/.*)',
+ 'license_protected_downloads.views.reports_month_file_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/$',