Mercurial > public > sg101
comparison gpp/forums/urls.py @ 81:e356ea79a7a2
More work on forums. Committing what we got so far.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 23 Aug 2009 00:14:52 +0000 |
parents | |
children | bc3978f023c2 |
comparison
equal
deleted
inserted
replaced
80:a4fdc4d23b9e | 81:e356ea79a7a2 |
---|---|
1 """ | |
2 URLs for the forums application. | |
3 """ | |
4 from django.conf.urls.defaults import * | |
5 | |
6 urlpatterns = patterns('forums.views', | |
7 url(r'^$', 'index', name='forums-index'), | |
8 url(r'^(?P<slug>[\w\d-]+)/$', 'forum_index', name='forums-forum_index'), | |
9 ) |