summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2008-07-05 20:28:29 -0400
committerDusty Phillips <buchuki@gmail.com>2008-07-05 20:55:58 -0400
commit91b3ddd47f15851cd1686adbf9181fc46b9730a3 (patch)
tree6106296094b5b2552700ea8c07e84f015ed45f4c /urls.py
parentb8221328c8de2dd2c673d4b0fd9a89d6d164d1d4 (diff)
#10213 make package urls be pretty cool, if not awesome
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index 0094d856..689af44c 100644
--- a/urls.py
+++ b/urls.py
@@ -14,7 +14,10 @@ urlpatterns = patterns('',
(r'^packages/update/$', 'archweb_dev.packages.views.update'),
(r'^packages/(?P<pkgid>\d+)/$', 'archweb_dev.packages.views.details'),
(r'^packages/(?P<name>[A-z0-9]+)/$', 'archweb_dev.packages.views.details'),
- (r'^packages/(?P<repo>[A-z0-9]+)/(?P<name>[A-z0-9]+)/$', 'archweb_dev.packages.views.details'),
+ (r'^packages/(?P<repo>[A-z0-9]+)/(?P<name>[A-z0-9]+)/$',
+ 'archweb_dev.packages.views.details'),
+ (r'^packages/(?P<repo>[A-z0-9]+)/(?P<arch>[A-z0-9]+)/(?P<name>[A-z0-9-]+)/$',
+ 'archweb_dev.packages.views.details'),
(r'^packages/$', 'archweb_dev.packages.views.search'),
(r'^todo/(\d+)/$', 'archweb_dev.todolists.views.view'),