urls.py 565 Bytes
Newer Older
1 2
from django.conf.urls.defaults import url, patterns

David Baumgold committed
3
urlpatterns = patterns('django_comment_client.forum.views',  # nopep8
4
    url(r'users/(?P<user_id>\w+)/followed$', 'followed_threads', name='followed_threads'),
5
    url(r'users/(?P<user_id>\w+)$', 'user_profile', name='user_profile'),
6 7
    url(r'^(?P<discussion_id>[\w\-.]+)/threads/(?P<thread_id>\w+)$', 'single_thread', name='single_thread'),
    url(r'^(?P<discussion_id>[\w\-.]+)/inline$', 'inline_discussion', name='inline_discussion'),
8
    url(r'', 'forum_form_discussion', name='forum_form_discussion'),
9
)