summaryrefslogtreecommitdiffstats
path: root/mirrors/urls_mirrorlist.py
blob: e0f44c780f372a76ffbc62e685fdacd8a6795c67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from django.conf.urls import patterns

urlpatterns = patterns('mirrors.views',
    (r'^$',         'generate_mirrorlist', {}, 'mirrorlist'),
    (r'^all/$',     'find_mirrors', {'countries': ['all']}),
    (r'^all/ftp/$', 'find_mirrors',
        {'countries': ['all'], 'protocols': ['ftp']}),
    (r'^all/http/$', 'find_mirrors',
        {'countries': ['all'], 'protocols': ['http']}),
)

# vim: set ts=4 sw=4 et: