summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-12-14 10:08:59 -0600
committerDan McGee <dan@archlinux.org>2010-12-14 10:09:01 -0600
commit6528f52cff2abf72a1cb1deb18a398614f3db5f5 (patch)
treede842c8bb4cd1b8e203bac647861be37057a4349
parent61f24b4bd9e0c533f054e9ba3f12a24ab405897f (diff)
Fix urls precedence in mirror views
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--urls.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/urls.py b/urls.py
index e55c271a..75f2ae78 100644
--- a/urls.py
+++ b/urls.py
@@ -29,12 +29,12 @@ urlpatterns += patterns('todolists.views',
)
urlpatterns += patterns('mirrors.views',
- (r'^mirrors/$', 'mirrors', {}, 'mirrors-list'),
- (r'^mirrors/(?P<name>[\.\-\w]+)/$', 'mirror_details'),
-
(r'^mirrors/status/$', 'status', {}, 'mirror-status'),
(r'^mirrors/status/json/$', 'status_json', {}, 'mirror-status-json'),
+ (r'^mirrors/$', 'mirrors', {}, 'mirrors-list'),
+ (r'^mirrors/(?P<name>[\.\-\w]+)/$', 'mirror_details'),
+
(r'^mirrorlist/$', 'generate_mirrorlist', {}, 'mirrorlist'),
(r'^mirrorlist/all/$', 'find_mirrors', {'countries': ['all']}),
(r'^mirrorlist/all/ftp/$', 'find_mirrors',