bgneal@81: """ bgneal@81: URLs for the forums application. bgneal@81: """ bgneal@81: from django.conf.urls.defaults import * bgneal@81: bgneal@81: urlpatterns = patterns('forums.views', bgneal@81: url(r'^$', 'index', name='forums-index'), bgneal@83: url(r'^new-topic-success/(?P\d+)$', 'new_topic_thanks', name='forums-new_topic_thanks'), bgneal@82: url(r'^topic/(?P\d+)/$', 'topic_index', name='forums-topic_index'), bgneal@107: url(r'^delete-post/$', 'delete_post', name='forums-delete_post'), bgneal@106: url(r'^edit/(?P\d+)/$', 'edit_post', name='forums-edit_post'), bgneal@98: url(r'^flag-post/$', 'flag_post', name='forums-flag_post'), bgneal@85: url(r'^forum/(?P[\w\d-]+)/$', 'forum_index', name='forums-forum_index'), bgneal@113: url(r'^forum/(?P[\w\d-]+)/catchup/$', 'forum_catchup', name='forums-catchup'), bgneal@85: url(r'^forum/(?P[\w\d-]+)/new-topic/$', 'new_topic', name='forums-new_topic'), bgneal@111: url(r'^mod/forum/(?P[\w\d-]+)/$', 'mod_forum', name='forums-mod_forum'), bgneal@110: url(r'^mod/topic/delete/(\d+)/$', 'mod_topic_delete', name='forums-mod_topic_delete'), bgneal@109: url(r'^mod/topic/lock/(\d+)/$', 'mod_topic_lock', name='forums-mod_topic_lock'), bgneal@110: url(r'^mod/topic/move/(\d+)/$', 'mod_topic_move', name='forums-mod_topic_move'), bgneal@115: url(r'^mod/topic/split/(\d+)/$', 'mod_topic_split', name='forums-mod_topic_split'), bgneal@109: url(r'^mod/topic/stick/(\d+)/$', 'mod_topic_stick', name='forums-mod_topic_stick'), bgneal@91: url(r'^post/(\d+)/$', 'goto_post', name='forums-goto_post'), bgneal@108: url(r'^post/new/(?P\d+)/$', 'new_post', name='forums-new_post'), bgneal@89: url(r'^quick-reply/$', 'quick_reply_ajax', name='forums-quick_reply'), bgneal@167: url(r'^unread/$', 'unread_topics', name='forums-unread_topics'), bgneal@81: ) bgneal@83: