summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/urls.py b/urls.py
index f57af054..c9f0c6e9 100644
--- a/urls.py
+++ b/urls.py
@@ -22,9 +22,9 @@ urlpatterns = patterns('',
(r'^packages/(?P<name>[A-z0-9\-+.]+)/$',
'archweb_dev.packages.views.details'),
- (r'^packages/(?P<repo>[A-z0-9]+)/(?P<name>[A-z0-9\-+.]+)/$',
+ (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\-+.]+)/$',
+ (r'^packages/(?P<repo>[A-z0-9\-]+)/(?P<arch>[A-z0-9]+)/(?P<name>[A-z0-9\-+.]+)/$',
'archweb_dev.packages.views.details'),
(r'^todo/(\d+)/$', 'archweb_dev.todolists.views.view'),