summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-03-27 09:49:23 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-03-27 09:49:23 -0400
commit09c2e79eeb23a71d6dbedcaf8d78413accc452d9 (patch)
treed553febd3d96ff20dc3af147e089d27ce5f2918c /packages
parent1c5cb2aa39a596b94711584d8b300cc20a667634 (diff)
Allow '~' in repo names
Diffstat (limited to 'packages')
-rw-r--r--packages/urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/urls.py b/packages/urls.py
index 6eddc5fe..1fd54a7e 100644
--- a/packages/urls.py
+++ b/packages/urls.py
@@ -31,10 +31,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)),
)