comparison 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
comparison
equal deleted inserted replaced
81:e356ea79a7a2 82:bc3978f023c2
3 """ 3 """
4 from django.conf.urls.defaults import * 4 from django.conf.urls.defaults import *
5 5
6 urlpatterns = patterns('forums.views', 6 urlpatterns = patterns('forums.views',
7 url(r'^$', 'index', name='forums-index'), 7 url(r'^$', 'index', name='forums-index'),
8 url(r'^topic/(?P<id>\d+)/$', 'topic_index', name='forums-topic_index'),
8 url(r'^(?P<slug>[\w\d-]+)/$', 'forum_index', name='forums-forum_index'), 9 url(r'^(?P<slug>[\w\d-]+)/$', 'forum_index', name='forums-forum_index'),
9 ) 10 )