diff options
author | Dusty Phillips <buchuki@gmail.com> | 2008-07-05 20:28:29 -0400 |
---|---|---|
committer | Dusty Phillips <buchuki@gmail.com> | 2008-07-05 20:55:58 -0400 |
commit | 91b3ddd47f15851cd1686adbf9181fc46b9730a3 (patch) | |
tree | 6106296094b5b2552700ea8c07e84f015ed45f4c /urls.py | |
parent | b8221328c8de2dd2c673d4b0fd9a89d6d164d1d4 (diff) |
#10213 make package urls be pretty cool, if not awesome
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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'), |