from django.conf.urls import patterns, url urlpatterns = patterns('misago.threads.views', url(r'^forum/(?P(\w|-)+)-(?P\d+)/$', 'ThreadsView', name="forum"), url(r'^forum/(?P(\w|-)+)-(?P\d+)/(?P\d+)/$', 'ThreadsView', name="forum"), url(r'^forum/(?P(\w|-)+)-(?P\d+)/new/$', 'PostingView', name="thread_new", kwargs={'mode': 'new_thread'}), url(r'^thread/(?P(\w|-)+)-(?P\d+)/$', 'ThreadView', name="thread"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/last/$', 'LastReplyView', name="thread_last"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/find-(?P\d+)/$', 'FindReplyView', name="thread_find"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/new/$', 'NewReplyView', name="thread_new"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/moderated/$', 'FirstModeratedView', name="thread_moderated"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/reported/$', 'FirstReportedView', name="thread_reported"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/$', 'ThreadView', name="thread"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/reply/$', 'PostingView', name="thread_reply", kwargs={'mode': 'new_post'}), url(r'^thread/(?P(\w|-)+)-(?P\d+)/reply/(?P\d+)/$', 'PostingView', name="thread_reply", kwargs={'mode': 'new_post'}), )