##// END OF EJS Templates
Initial commit. One test doesn't work, missing posting form.
Initial commit. One test doesn't work, missing posting form.

File last commit:

r0:8aafc193 default
r0:8aafc193 default
Show More
urls.py
15 lines | 476 B | text/x-python | PythonLexer
from django.conf.urls import patterns, url
from boards import views
urlpatterns = patterns('',
# /boards/
url(r'^$', views.index, name='index'),
# /boards/board_name/
url(r'^(?P<board_name>\w+)/$', views.board, name='board'),
# /boards/board_name/thread_id/
url(r'^(?P<board_name>\w+)/(?P<thread_id>\w+)/$', views.thread,
name='thread'),
# /boards/board_name/post/
url(r'^(?P<board_name>\w+)/post.html$', views.post,
name='post'),
)