##// END OF EJS Templates
Added admin loing possibility. Now it is abailable under {BASE_URL}/boards/login...
Added admin loing possibility. Now it is abailable under {BASE_URL}/boards/login Added base css and html resources

File last commit:

r9:f67fe28f default
r9:f67fe28f default
Show More
urls.py
19 lines | 466 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'),
# /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'),
)