Show More
@@ -1,4 +1,4 b'' | |||
|
1 | 1 | import re |
|
2 | 2 | |
|
3 | 3 | FILE_DIRECTORY = 'files/' |
|
4 | REGEX_TAGS = re.compile(r'^[\w\s\d]+$', re.UNICODE) | |
|
4 | REGEX_TAGS = re.compile(r'^[\w\s\d\']+$', re.UNICODE) |
@@ -24,8 +24,9 b' urlpatterns = [' | |||
|
24 | 24 | url(r'^all/$', all_threads.AllThreadsView.as_view(), name='index'), |
|
25 | 25 | |
|
26 | 26 | # /boards/tag/tag_name/ |
|
27 | url(r'^tag/(?P<tag_name>\w+)/$', tag_threads.TagView.as_view(), | |
|
27 | url(r'^tag/(?P<tag_name>[\w\d\']+)/$', tag_threads.TagView.as_view(), | |
|
28 | 28 | name='tag'), |
|
29 | url(r'^tag/(?P<tag_name>[\w\d\']+)/gallery/$', TagGalleryView.as_view(), name='tag_gallery'), | |
|
29 | 30 | |
|
30 | 31 | # /boards/thread/ |
|
31 | 32 | url(r'^thread/(?P<post_id>\d+)/$', views.thread.NormalThreadView.as_view(), |
@@ -47,7 +48,6 b' urlpatterns = [' | |||
|
47 | 48 | name='staticpage'), |
|
48 | 49 | |
|
49 | 50 | url(r'^random/$', RandomImageView.as_view(), name='random'), |
|
50 | url(r'^tag/(?P<tag_name>\w+)/gallery/$', TagGalleryView.as_view(), name='tag_gallery'), | |
|
51 | 51 | url(r'^search/$', BoardSearchView.as_view(), name='search'), |
|
52 | 52 | url(r'^$', LandingView.as_view(), name='landing'), |
|
53 | 53 | url(r'^utils$', UtilsView.as_view(), name='utils'), |
General Comments 0
You need to be logged in to leave comments.
Login now