From 51f2aabd84f98911c5987c2044de6ed072fd6c5f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20St=C4=99pniowski?= Date: Mon, 22 Sep 2008 17:02:50 +0200 Subject: [PATCH] Now searching for tag name which is a prefix of two or more tags doesn't result in server error. --- apps/catalogue/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/catalogue/urls.py b/apps/catalogue/urls.py index 1c52961fb..4910fc2da 100644 --- a/apps/catalogue/urls.py +++ b/apps/catalogue/urls.py @@ -16,6 +16,6 @@ urlpatterns = patterns('catalogue.views', # Public interface. Do not change this URLs. url(r'^lektura/(?P[a-zA-Z0-9-]+)\.html$', 'book_text', name='book_text'), url(r'^lektura/(?P[a-zA-Z0-9-]+)/$', 'book_detail', name='book_detail'), - url(r'^(?P[a-zA-Z0-9-/]+)/$', 'tagged_object_list', name='tagged_object_list'), + url(r'^(?P[a-zA-Z0-9-/]*)/$', 'tagged_object_list', name='tagged_object_list'), ) -- 2.20.1