from django.conf.urls import patterns, url urlpatterns = patterns('misago.apps.privatethreads', url(r'^$', 'list.AllThreadsListView', name="private_threads"), url(r'^(?P\d+)/$', 'list.AllThreadsListView', name="private_threads"), url(r'^my/$', 'list.MyThreadsListView', name="my_private_threads"), url(r'^my/(?P\d+)/$', 'list.MyThreadsListView', name="my_private_threads"), url(r'^start/$', 'posting.NewThreadView', name="private_thread_start"), url(r'^(?P(\w|-)+)-(?P\d+)/edit/$', 'posting.EditThreadView', name="private_thread_edit"), url(r'^(?P(\w|-)+)-(?P\d+)/reply/$', 'posting.NewReplyView', name="private_thread_reply"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P\d+)/reply/$', 'posting.NewReplyView', name="private_thread_reply"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P\d+)/edit/$', 'posting.EditReplyView', name="private_post_edit"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/$', 'thread.ThreadView', name="private_thread"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/$', 'thread.ThreadView', name="private_thread"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/last/$', 'jumps.LastReplyView', name="private_thread_last"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/find-(?P\d+)/$', 'jumps.FindReplyView', name="private_thread_find"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/new/$', 'jumps.NewReplyView', name="private_thread_new"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/moderated/$', 'jumps.FirstModeratedView', name="private_thread_moderated"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/reported/$', 'jumps.FirstReportedView', name="private_thread_reported"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/show-hidden/$', 'jumps.ShowHiddenRepliesView', name="private_thread_show_hidden"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/watch/$', 'jumps.WatchThreadView', name="private_thread_watch"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/watch/email/$', 'jumps.WatchEmailThreadView', name="private_thread_watch_email"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/unwatch/$', 'jumps.UnwatchThreadView', name="private_thread_unwatch"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/unwatch/email/$', 'jumps.UnwatchEmailThreadView', name="private_thread_unwatch_email"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/upvote/$', 'jumps.UpvotePostView', name="private_post_upvote"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/downvote/$', 'jumps.DownvotePostView', name="private_post_downvote"), )