summaryrefslogtreecommitdiffstats
path: root/mirrors/urls_mirrorlist.py
blob: 70bc18d2db5a954adc2133629503ab4cdfaf2d61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from django.conf.urls.defaults 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: