Mercurial > public > sg101
annotate 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 |
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@81 | 8 url(r'^(?P<slug>[\w\d-]+)/$', 'forum_index', name='forums-forum_index'), |
bgneal@81 | 9 ) |