summaryrefslogtreecommitdiff
path: root/mirrors/urls.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-04-14 13:59:49 -0500
committerDan McGee <dan@archlinux.org>2013-04-14 13:59:49 -0500
commit0cad22a5eca20ecb64b04d0912592ea6a5361e0d (patch)
tree13288c5b09bfae8e7391e6624a5e941261b9c5d6 /mirrors/urls.py
parent4d7d08f93de9e6af9e664a00e090158e738a890c (diff)
Add a JSON view for retrieving mirror check locations
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/urls.py')
-rw-r--r--mirrors/urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mirrors/urls.py b/mirrors/urls.py
index 4e929410..7cf76aa1 100644
--- a/mirrors/urls.py
+++ b/mirrors/urls.py
@@ -6,6 +6,7 @@ urlpatterns = patterns('mirrors.views',
(r'^status/json/$', 'status_json', {}, 'mirror-status-json'),
(r'^status/tier/(?P<tier>\d+)/$', 'status', {}, 'mirror-status-tier'),
(r'^status/tier/(?P<tier>\d+)/json/$', 'status_json', {}, 'mirror-status-tier-json'),
+ (r'^locations/json/$', 'locations_json', {}, 'mirror-locations-json'),
(r'^(?P<name>[\.\-\w]+)/$', 'mirror_details'),
(r'^(?P<name>[\.\-\w]+)/json/$', 'mirror_details_json'),
)