urls_mirrorlist.py 414 Bytes
Newer Older
Dan McGee's avatar
Dan McGee committed
1
from django.conf.urls import patterns
Dan McGee's avatar
Dan McGee committed
2
3
4
5
6
7
8
9
10
11
12

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: