from django.conf.urls import patterns, url urlpatterns = patterns('misago.apps.privatethreads', url(r'^$', 'list.ThreadsListView', name="private_threads"), url(r'^(?P[1-9]([0-9]+)?)/$', 'list.ThreadsListView', name="private_threads"), url(r'^start/$', 'posting.NewThreadView', name="private_thread_start"), url(r'^start/(?P\w+)-(?P\d+)/$', 'posting.NewThreadView', name="private_thread_start_with"), 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'^(?P(\w|-)+)-(?P\d+)/$', 'thread.ThreadView', name="private_thread"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P[1-9]([0-9]+)?)/$', 'thread.ThreadView', name="private_thread"), url(r'^(?P(\w|-)+)-(?P\d+)/last/$', 'jumps.LastReplyView', name="private_thread_last"), url(r'^(?P(\w|-)+)-(?P\d+)/find-(?P\d+)/$', 'jumps.FindReplyView', name="private_thread_find"), url(r'^(?P(\w|-)+)-(?P\d+)/new/$', 'jumps.NewReplyView', name="private_thread_new"), url(r'^(?P(\w|-)+)-(?P\d+)/reported/$', 'jumps.FirstReportedView', name="private_thread_reported"), url(r'^(?P(\w|-)+)-(?P\d+)/show-hidden/$', 'jumps.ShowHiddenRepliesView', name="private_thread_show_hidden"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P\d+)/report/$', 'jumps.ReportPostView', name="private_post_report"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P\d+)/show-report/$', 'jumps.ShowPostReportView', name="private_post_report_show"), url(r'^(?P(\w|-)+)-(?P\d+)/watch/$', 'jumps.WatchThreadView', name="private_thread_watch"), url(r'^(?P(\w|-)+)-(?P\d+)/watch/email/$', 'jumps.WatchEmailThreadView', name="private_thread_watch_email"), url(r'^(?P(\w|-)+)-(?P\d+)/unwatch/$', 'jumps.UnwatchThreadView', name="private_thread_unwatch"), url(r'^(?P(\w|-)+)-(?P\d+)/unwatch/email/$', 'jumps.UnwatchEmailThreadView', name="private_thread_unwatch_email"), url(r'^(?P(\w|-)+)-(?P\d+)/invite/$', 'jumps.InviteUserView', name="private_thread_invite_user"), url(r'^(?P(\w|-)+)-(?P\d+)/remove/$', 'jumps.RemoveUserView', name="private_thread_remove_user"), url(r'^(?P(\w|-)+)-(?P\d+)/delete/$', 'delete.DeleteThreadView', name="private_thread_delete"), url(r'^(?P(\w|-)+)-(?P\d+)/hide/$', 'delete.HideThreadView', name="private_thread_hide"), url(r'^(?P(\w|-)+)-(?P\d+)/show/$', 'delete.ShowThreadView', name="private_thread_show"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P\d+)/delete/$', 'delete.DeleteReplyView', name="private_post_delete"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P\d+)/hide/$', 'delete.HideReplyView', name="private_post_hide"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P\d+)/show/$', 'delete.ShowReplyView', name="private_post_show"), url(r'^(?P(\w|-)+)-(?P\d+)/checkpoint/(?P\d+)/delete/$', 'delete.DeleteCheckpointView', name="private_post_checkpoint_delete"), url(r'^(?P(\w|-)+)-(?P\d+)/checkpoint/(?P\d+)/hide/$', 'delete.HideCheckpointView', name="private_post_checkpoint_hide"), url(r'^(?P(\w|-)+)-(?P\d+)/checkpoint/(?P\d+)/show/$', 'delete.ShowCheckpointView', name="private_post_checkpoint_show"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P\d+)/info/$', 'details.DetailsView', name="private_post_info"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P\d+)/changelog/$', 'changelog.ChangelogView', name="private_thread_changelog"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P\d+)/changelog/(?P\d+)/$', 'changelog.ChangelogDiffView', name="private_thread_changelog_diff"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P\d+)/changelog/(?P\d+)/revert/$', 'changelog.ChangelogRevertView', name="private_thread_changelog_revert"), )