##// END OF EJS Templates
Added a page to view the thread.
Added a page to view the thread.

File last commit:

r17:e40b2431 default
r20:c63898fe default
Show More
urls.py
21 lines | 542 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'),
# login page
url(r'^login$', views.login, name='login'),
# logout page
url(r'^logout$', views.logout, name='logout'),
# /boards/tag/
url(r'^tag/(?P<tag>\w+)/$', views.tag, name = 'tag'),
# /boards/post_id/
url(r'^post/(?P<id>\w+)/$', views.thread, name = 'thread'),
# /boards/tag/post/
url(r'^post.html$', views.new_post,
name='post'),
)