##// END OF EJS Templates
Changed the url to the post page. Added one more TODO.
Changed the url to the post page. Added one more TODO.

File last commit:

r6:5fb6f373 default
r6:5fb6f373 default
Show More
urls.py
14 lines | 398 B | text/x-python | PythonLexer
neko259
Initial commit. One test doesn't work, missing posting form.
r0 from django.conf.urls import patterns, url
from boards import views
urlpatterns = patterns('',
# /boards/
neko259
Removed images directory. Removed old urls. Added a bit code for the views.
r4 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/
neko259
Changed the url to the post page. Added one more TODO.
r6 url(r'^post.html$', views.new_post,
neko259
Initial commit. One test doesn't work, missing posting form.
r0 name='post'),
)