summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2008-10-07 18:01:06 -0400
committerDusty Phillips <buchuki@gmail.com>2008-10-07 18:01:06 -0400
commitedc9dfb7a49c91f7db3c4a3a568e218dffae70cf (patch)
treebf5190d3159333efa0aa9186eb54c2577c909d4f /urls.py
parent7d237665c652514691f475ffba0ad2f059a85cf2 (diff)
drop id based searching
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/urls.py b/urls.py
index a41bcc3d..39f63bea 100644
--- a/urls.py
+++ b/urls.py
@@ -18,8 +18,7 @@ urlpatterns = patterns('',
(r'^packages/search/$', 'archweb_dev.packages.views.search'),
(r'^packages/search/(?P<page>\d+)/$', 'archweb_dev.packages.views.search'),
(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<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\-+.]+)/$',