##// END OF EJS Templates
Partially fixed tests and model definition
Partially fixed tests and model definition

File last commit:

r6:5fb6f373 default
r7:bb33ad66 default
Show More
urls.py
14 lines | 398 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/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'),
)