##// END OF EJS Templates
Added a text area to the posting form. Added a basic CSS style. Changed threads list a bit.
Added a text area to the posting form. Added a basic CSS style. Changed threads list a bit.

File last commit:

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