Now searching for tag name which is a prefix of two or more tags doesn't result in...
authorMarek Stępniowski <marek@stepniowski.com>
Mon, 22 Sep 2008 15:02:50 +0000 (17:02 +0200)
committerMarek Stępniowski <marek@stepniowski.com>
Mon, 22 Sep 2008 15:02:50 +0000 (17:02 +0200)
apps/catalogue/urls.py

index 1c52961..4910fc2 100644 (file)
@@ -16,6 +16,6 @@ urlpatterns = patterns('catalogue.views',
     # Public interface. Do not change this URLs.
     url(r'^lektura/(?P<slug>[a-zA-Z0-9-]+)\.html$', 'book_text', name='book_text'),
     url(r'^lektura/(?P<slug>[a-zA-Z0-9-]+)/$', 'book_detail', name='book_detail'),
-    url(r'^(?P<tags>[a-zA-Z0-9-/]+)/$', 'tagged_object_list', name='tagged_object_list'),
+    url(r'^(?P<tags>[a-zA-Z0-9-/]*)/$', 'tagged_object_list', name='tagged_object_list'),
 )