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[1-9]([0-9]+)?)/$', 'list.ThreadsListView', name="forum"), url(r'^forum/(?P(\w|-)+)-(?P\d+)/start/$', '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[1-9]([0-9]+)?)/$', 'thread.ThreadView', name="thread"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/last/$', 'jumps.LastReplyView', name="thread_last"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/find-(?P\d+)/$', 'jumps.FindReplyView', name="thread_find"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/new/$', 'jumps.NewReplyView', name="thread_new"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/moderated/$', 'jumps.FirstModeratedView', name="thread_moderated"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/reported/$', 'jumps.FirstReportedView', name="thread_reported"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/show-hidden/$', 'jumps.ShowHiddenRepliesView', name="thread_show_hidden"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/watch/$', 'jumps.WatchThreadView', name="thread_watch"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/watch/email/$', 'jumps.WatchEmailThreadView', name="thread_watch_email"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/unwatch/$', 'jumps.UnwatchThreadView', name="thread_unwatch"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/unwatch/email/$', 'jumps.UnwatchEmailThreadView', name="thread_unwatch_email"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/upvote/$', 'jumps.UpvotePostView', name="post_upvote"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/downvote/$', 'jumps.DownvotePostView', name="post_downvote"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/report/$', 'jumps.ReportPostView', name="post_report"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/show-report/$', 'jumps.ShowPostReportView', name="post_report_show"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/delete/$', 'delete.DeleteThreadView', name="thread_delete"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/hide/$', 'delete.HideThreadView', name="thread_hide"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/show/$', 'delete.ShowThreadView', name="thread_show"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/delete/$', 'delete.DeleteReplyView', name="post_delete"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/hide/$', 'delete.HideReplyView', name="post_hide"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/show/$', 'delete.ShowReplyView', name="post_show"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/checkpoint/(?P\d+)/delete/$', 'delete.DeleteCheckpointView', name="post_checkpoint_delete"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/checkpoint/(?P\d+)/hide/$', 'delete.HideCheckpointView', name="post_checkpoint_hide"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/checkpoint/(?P\d+)/show/$', 'delete.ShowCheckpointView', name="post_checkpoint_show"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/info/$', 'details.DetailsView', name="post_info"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/votes/$', 'details.KarmaVotesView', name="post_votes"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/changelog/$', 'changelog.ChangelogView', name="thread_changelog"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/changelog/(?P\d+)/$', 'changelog.ChangelogDiffView', name="thread_changelog_diff"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/changelog/(?P\d+)/revert/$', 'changelog.ChangelogRevertView', name="thread_changelog_revert"), )