diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gpp/forums/urls.py	Sun Aug 23 00:14:52 2009 +0000
@@ -0,0 +1,9 @@
+"""
+URLs for the forums application.
+"""
+from django.conf.urls.defaults import *
+
+urlpatterns = patterns('forums.views',
+    url(r'^$', 'index', name='forums-index'),
+    url(r'^(?P<slug>[\w\d-]+)/$', 'forum_index', name='forums-forum_index'),
+)