aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsk Solem <askh@modwheel.net>2009-03-21 21:58:40 +0100
committerAsk Solem Hoel <askh@opera.com>2009-03-21 21:58:40 +0100
commit4335d5430fbcae6035f90495f1ce43d351e3927a (patch)
tree65577cbaa40adadb99b571c9595bf77e2eae4a09
parent60fd893b12d3187b6bf3c91649a861351400ed87 (diff)
downloadchishop-4335d5430fbcae6035f90495f1ce43d351e3927a.tar.bz2
chishop-4335d5430fbcae6035f90495f1ce43d351e3927a.tar.xz
chishop-4335d5430fbcae6035f90495f1ce43d351e3927a.zip
Allow "." in project names.
-rw-r--r--djangopypi/urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/djangopypi/urls.py b/djangopypi/urls.py
index 8ab8d69..ef94335 100644
--- a/djangopypi/urls.py
+++ b/djangopypi/urls.py
@@ -6,11 +6,11 @@ urlpatterns = patterns("",
6 url(r'^/?$', "djangopypi.views.simple", 6 url(r'^/?$', "djangopypi.views.simple",
7 name="djangopypi-simple"), 7 name="djangopypi-simple"),
8 8
9 url(r'^(?P<dist_name>[\w\d_\-]+)/(?P<version>[\w\.\d\-_]+)/?', 9 url(r'^(?P<dist_name>[\w\d_\.\-]+)/(?P<version>[\w\.\d\-_]+)/?',
10 "djangopypi.views.show_version", 10 "djangopypi.views.show_version",
11 name="djangopypi-show_version"), 11 name="djangopypi-show_version"),
12 12
13 url(r'^(?P<dist_name>[\w\d_\-]+)/?', "djangopypi.views.show_links", 13 url(r'^(?P<dist_name>[\w\d_\.\-]+)/?', "djangopypi.views.show_links",
14 name="djangopypi-show_links"), 14 name="djangopypi-show_links"),
15) 15)
16 16