##// END OF EJS Templates
Added localization (not fully working). Added tags posting. Changed the design a bit.
Added localization (not fully working). Added tags posting. Changed the design a bit.

File last commit:

r24:bb515fee default
r24:bb515fee default
Show More
urls.py
21 lines | 554 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_name>\w+)/$', views.tag, name = 'tag'),
# /boards/post_id/
url(r'^thread/(?P<post_id>\w+)/$', views.thread, name = 'thread'),
# /boards/tag/post/
url(r'^post.html$', views.new_post,
name='post'),
)