From: Marek Stępniowski Date: Fri, 5 Sep 2008 14:15:20 +0000 (+0200) Subject: Fixed slug regex for tags (now allows numbers in tag name). X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/ea1a90033eb53ae995f71943e57653fff30d4b8e?hp=2f43b57dbef744441d2db1adadcfe16cd0ab1053 Fixed slug regex for tags (now allows numbers in tag name). --- 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'), )