From ea1a90033eb53ae995f71943e57653fff30d4b8e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20St=C4=99pniowski?= Date: Fri, 5 Sep 2008 16:15:20 +0200 Subject: [PATCH] Fixed slug regex for tags (now allows numbers in tag name). --- catalogue/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalogue/urls.py b/catalogue/urls.py index 12eaa47a4..f4779067c 100644 --- a/catalogue/urls.py +++ b/catalogue/urls.py @@ -13,6 +13,6 @@ urlpatterns = patterns('catalogue.views', url(r'^lektura/(?P[a-zA-Z0-9-]+)/$', 'book_detail', name='book_detail'), url(r'^tags/$', 'tags_starting_with', name='hint'), url(r'^szukaj/$', 'search', name='search'), - url(r'^(?P[a-zA-Z-/]+)/$', 'tagged_object_list', name='tagged_object_list'), + url(r'^(?P[a-zA-Z0-9-/]+)/$', 'tagged_object_list', name='tagged_object_list'), ) -- 2.20.1