Mercurial > public > sg101
diff gpp/forums/urls.py @ 172:0fa78ef80356
Implementing #55 - Add function to view a users posts from their profile.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 28 Feb 2010 22:20:15 +0000 |
parents | 7071b196ddd5 |
children | 500e5875a306 |
line wrap: on
line diff
--- a/gpp/forums/urls.py Fri Feb 12 04:24:47 2010 +0000 +++ b/gpp/forums/urls.py Sun Feb 28 22:20:15 2010 +0000 @@ -22,6 +22,7 @@ url(r'^my-posts/$', 'my_posts', name='forums-my_posts'), url(r'^post/(\d+)/$', 'goto_post', name='forums-goto_post'), url(r'^post/new/(?P<topic_id>\d+)/$', 'new_post', name='forums-new_post'), + url(r'^posts/(?P<username>[\w\d-]+)/$', 'posts_for_user', name='forums-posts_for_user'), url(r'^quick-reply/$', 'quick_reply_ajax', name='forums-quick_reply'), url(r'^unanswered/$', 'unanswered_topics', name='forums-unanswered_topics'), url(r'^unread/$', 'unread_topics', name='forums-unread_topics'),