b9fdcd0622
Make some additional URL config files that can be included so we aren't trying to do so much in the top level config. This also allows us to branch a bit more rather than go linear down the rather lengthy list. Signed-off-by: Dan McGee <dan@archlinux.org>
13 lines
423 B
Python
13 lines
423 B
Python
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:
|