summaryrefslogtreecommitdiff
path: root/packages/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/urls.py')
-rw-r--r--packages/urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/urls.py b/packages/urls.py
index 7e12a239..9a063f43 100644
--- a/packages/urls.py
+++ b/packages/urls.py
@@ -30,10 +30,10 @@ urlpatterns = patterns('packages.views',
(r'^(?P<name>[^ /]+)/$',
'details'),
- (r'^(?P<repo>[A-z0-9\-]+)/(?P<name>[^ /]+)/$',
+ (r'^(?P<repo>[A-z0-9~\-]+)/(?P<name>[^ /]+)/$',
'details'),
# canonical package url. subviews defined above
- (r'^(?P<repo>[A-z0-9\-]+)/(?P<arch>[A-z0-9]+)/(?P<name>[^ /]+)/',
+ (r'^(?P<repo>[A-z0-9~\-]+)/(?P<arch>[A-z0-9]+)/(?P<name>[^ /]+)/',
include(package_patterns)),
)