diff options
author | Dan McGee <dan@archlinux.org> | 2010-07-02 20:02:26 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-07-02 20:02:26 -0500 |
commit | 2d407d9c1b2149d96fd3296923520aa966f9b561 (patch) | |
tree | a20575fa32838f0e909f9ae399fc60f2f1402934 /urls.py | |
parent | 67159fed20d36307fad760ba7fad00c6defc6dfc (diff) |
mirrorlist: allow filtering by protocol
And add some more "static" URLs to access the non-country filtered lists.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -67,6 +67,10 @@ urlpatterns = patterns('', (r'^mirrorlist/$', 'mirrors.views.generate', {}, 'mirrorlist'), (r'^mirrorlist/all/$', 'mirrors.views.find_mirrors', {'countries': ['all']}), + (r'^mirrorlist/all/ftp/$', 'mirrors.views.find_mirrors', + {'countries': ['all'], 'protocols': ['ftp']}), + (r'^mirrorlist/all/http/$', 'mirrors.views.find_mirrors', + {'countries': ['all'], 'protocols': ['http']}), (r'^devel/$', 'devel.views.index'), (r'^devel/notify/$', 'devel.views.change_notify'), |