annotate gpp/forums/urls.py @ 88:3abf0b045749
Updates to base template. Added a link to forums. Display username in header if logged in.
author |
Brian Neal <bgneal@gmail.com> |
date |
Sat, 12 Sep 2009 18:51:55 +0000 |
parents |
531fcc342a03 |
children |
021492db4aad |
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@83
|
8 url(r'^new-topic-success/(?P<tid>\d+)$', 'new_topic_thanks', name='forums-new_topic_thanks'),
|
bgneal@82
|
9 url(r'^topic/(?P<id>\d+)/$', 'topic_index', name='forums-topic_index'),
|
bgneal@85
|
10 url(r'^forum/(?P<slug>[\w\d-]+)/$', 'forum_index', name='forums-forum_index'),
|
bgneal@85
|
11 url(r'^forum/(?P<slug>[\w\d-]+)/new-topic/$', 'new_topic', name='forums-new_topic'),
|
bgneal@81
|
12 )
|
bgneal@83
|
13
|