from django.conf.urls import patterns, url urlpatterns = patterns('misago.apps.threads', url(r'^forum/(?P(\w|-)+)-(?P\d+)/$', 'list.ThreadsListView', name="forum"), url(r'^forum/(?P(\w|-)+)-(?P\d+)/(?P\d+)/$', 'list.ThreadsListView', name="forum"), url(r'^forum/(?P(\w|-)+)-(?P\d+)/new/$', 'posting.NewThreadView', name="thread_start"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/edit/$', 'posting.EditThreadView', name="thread_edit"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/reply/$', 'posting.NewReplyView', name="thread_reply"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/reply/$', 'posting.NewReplyView', name="thread_reply"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/edit/$', 'posting.EditReplyView', name="post_edit"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/$', 'thread.ThreadView', name="thread"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/$', 'thread.ThreadView', name="thread"), ) urlpatterns += patterns('misago.apps.errors', url(r'^thread/(?P(\w|-)+)-(?P\d+)/last/$', 'error_not_implemented', name="thread_last"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/find-(?P\d+)/$', 'error_not_implemented', name="thread_find"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/new/$', 'error_not_implemented', name="thread_new"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/moderated/$', 'error_not_implemented', name="thread_moderated"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/reported/$', 'error_not_implemented', name="thread_reported"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/show-hidden/$', 'error_not_implemented', name="thread_show_hidden"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/watch/$', 'error_not_implemented', name="thread_watch"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/watch/email/$', 'error_not_implemented', name="thread_watch_email"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/unwatch/$', 'error_not_implemented', name="thread_unwatch"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/unwatch/email/$', 'error_not_implemented', name="thread_unwatch_email"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/reply/$', 'error_not_implemented', name="thread_reply"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/delete/$', 'error_not_implemented', name="thread_delete", kwargs={'mode': 'delete_thread'}), url(r'^thread/(?P(\w|-)+)-(?P\d+)/hide/$', 'error_not_implemented', name="thread_hide", kwargs={'mode': 'hide_thread'}), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/delete/$', 'error_not_implemented', name="post_delete", kwargs={'mode': 'delete_post'}), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/hide/$', 'error_not_implemented', name="post_hide", kwargs={'mode': 'hide_post'}), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/info/$', 'error_not_implemented', name="post_info"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/upvote/$', 'error_not_implemented', name="post_upvote"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/downvote/$', 'error_not_implemented', name="post_downvote"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/votes/$', 'error_not_implemented', name="post_votes"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/changelog/$', 'error_not_implemented', name="changelog"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/changelog/(?P\d+)/$', 'error_not_implemented', name="changelog_diff"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/changelog/(?P\d+)/revert/$', 'error_not_implemented', name="changelog_revert"), )