Mercurial > public > sg101
view gpp/forums/urls.py @ 82:bc3978f023c2
Forums: started the ability to display topics inside a forum.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 23 Aug 2009 04:04:29 +0000 |
parents | e356ea79a7a2 |
children | 5b4c812b448e |
line wrap: on
line source
""" URLs for the forums application. """ from django.conf.urls.defaults import * urlpatterns = patterns('forums.views', url(r'^$', 'index', name='forums-index'), url(r'^topic/(?P<id>\d+)/$', 'topic_index', name='forums-topic_index'), url(r'^(?P<slug>[\w\d-]+)/$', 'forum_index', name='forums-forum_index'), )