diff options
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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\-+.]+)/$', |