##// 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
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('',
Ilyas
Added admin loing possibility. Now it is abailable under {BASE_URL}/boards/login...
r9
neko259
Initial commit. One test doesn't work, missing posting form.
r0 # /boards/
neko259
Removed images directory. Removed old urls. Added a bit code for the views.
r4 url(r'^$', views.index, name = 'index'),
Ilyas
Added admin loing possibility. Now it is abailable under {BASE_URL}/boards/login...
r9
# login page
url(r'^login$', views.login, name='login'),
Ilyas
Completed login and logout functionality and covered by tests.
r13 # logout page
url(r'^logout$', views.logout, name='logout'),
Ilyas
Added admin loing possibility. Now it is abailable under {BASE_URL}/boards/login...
r9
neko259
Removed images directory. Removed old urls. Added a bit code for the views.
r4 # /boards/tag/
neko259
Fixed getting posts for a thread. Implemented thread getting test.
r17 url(r'^tag/(?P<tag>\w+)/$', views.tag, name = 'tag'),
neko259
Removed images directory. Removed old urls. Added a bit code for the views.
r4 # /boards/post_id/
neko259
Fixed getting posts for a thread. Implemented thread getting test.
r17 url(r'^post/(?P<id>\w+)/$', views.thread, name = 'thread'),
neko259
Removed images directory. Removed old urls. Added a bit code for the views.
r4 # /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'),
)