from django.conf.urls import patterns, url urlpatterns = patterns('misago.apps.reports', url(r'^$', 'list.ThreadsListView', name="reports"), url(r'^(?P[1-9]([0-9]+)?)/$', 'list.ThreadsListView', name="reports"), url(r'^(?P(\w|-)+)-(?P\d+)/edit/$', 'posting.EditThreadView', name="report_edit"), url(r'^(?P(\w|-)+)-(?P\d+)/reply/$', 'posting.NewReplyView', name="report_reply"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P\d+)/reply/$', 'posting.NewReplyView', name="report_reply"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P\d+)/edit/$', 'posting.EditReplyView', name="report_post_edit"), url(r'^(?P(\w|-)+)-(?P\d+)/$', 'thread.ThreadView', name="report"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P[1-9]([0-9]+)?)/$', 'thread.ThreadView', name="report"), url(r'^(?P(\w|-)+)-(?P\d+)/last/$', 'jumps.LastReplyView', name="report_last"), url(r'^(?P(\w|-)+)-(?P\d+)/find-(?P\d+)/$', 'jumps.FindReplyView', name="report_find"), url(r'^(?P(\w|-)+)-(?P\d+)/new/$', 'jumps.NewReplyView', name="report_new"), url(r'^(?P(\w|-)+)-(?P\d+)/watch/$', 'jumps.WatchThreadView', name="report_watch"), url(r'^(?P(\w|-)+)-(?P\d+)/watch/email/$', 'jumps.WatchEmailThreadView', name="report_watch_email"), url(r'^(?P(\w|-)+)-(?P\d+)/unwatch/$', 'jumps.UnwatchThreadView', name="report_unwatch"), url(r'^(?P(\w|-)+)-(?P\d+)/unwatch/email/$', 'jumps.UnwatchEmailThreadView', name="report_unwatch_email"), url(r'^(?P(\w|-)+)-(?P\d+)/delete/$', 'delete.DeleteThreadView', name="report_delete"), url(r'^(?P(\w|-)+)-(?P\d+)/hide/$', 'delete.HideThreadView', name="report_hide"), url(r'^(?P(\w|-)+)-(?P\d+)/show/$', 'delete.ShowThreadView', name="report_show"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P\d+)/delete/$', 'delete.DeleteReplyView', name="report_post_delete"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P\d+)/hide/$', 'delete.HideReplyView', name="report_post_hide"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P\d+)/show/$', 'delete.ShowReplyView', name="report_post_show"), url(r'^(?P(\w|-)+)-(?P\d+)/checkpoint/(?P\d+)/delete/$', 'delete.DeleteCheckpointView', name="report_post_checkpoint_delete"), url(r'^(?P(\w|-)+)-(?P\d+)/checkpoint/(?P\d+)/hide/$', 'delete.HideCheckpointView', name="report_post_checkpoint_hide"), url(r'^(?P(\w|-)+)-(?P\d+)/checkpoint/(?P\d+)/show/$', 'delete.ShowCheckpointView', name="report_post_checkpoint_show"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P\d+)/info/$', 'details.DetailsView', name="report_post_info"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P\d+)/changelog/$', 'changelog.ChangelogView', name="report_changelog"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P\d+)/changelog/(?P\d+)/$', 'changelog.ChangelogDiffView', name="report_changelog_diff"), url(r'^(?P(\w|-)+)-(?P\d+)/(?P\d+)/changelog/(?P\d+)/revert/$', 'changelog.ChangelogRevertView', name="report_changelog_revert"), )