annotate 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
rev   line source
bgneal@81 1 """
bgneal@81 2 URLs for the forums application.
bgneal@81 3 """
bgneal@81 4 from django.conf.urls.defaults import *
bgneal@81 5
bgneal@81 6 urlpatterns = patterns('forums.views',
bgneal@81 7 url(r'^$', 'index', name='forums-index'),
bgneal@82 8 url(r'^topic/(?P<id>\d+)/$', 'topic_index', name='forums-topic_index'),
bgneal@81 9 url(r'^(?P<slug>[\w\d-]+)/$', 'forum_index', name='forums-forum_index'),
bgneal@81 10 )