fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2f43b57
)
Fixed slug regex for tags (now allows numbers in tag name).
author
Marek Stępniowski
<marek@stepniowski.com>
Fri, 5 Sep 2008 14:15:20 +0000
(16:15 +0200)
committer
Marek Stępniowski
<marek@stepniowski.com>
Fri, 5 Sep 2008 14:15:20 +0000
(16:15 +0200)
catalogue/urls.py
patch
|
blob
|
history
diff --git
a/catalogue/urls.py
b/catalogue/urls.py
index
12eaa47
..
f477906
100644
(file)
--- a/
catalogue/urls.py
+++ b/
catalogue/urls.py
@@
-13,6
+13,6
@@
urlpatterns = patterns('catalogue.views',
url(r'^lektura/(?P<slug>[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<tags>[a-zA-Z-/]+)/$', 'tagged_object_list', name='tagged_object_list'),
+ url(r'^(?P<tags>[a-zA-Z
0-9
-/]+)/$', 'tagged_object_list', name='tagged_object_list'),
)