##// END OF EJS Templates
Added fixed image length. This fixes #52
Added fixed image length. This fixes #52

File last commit:

r81:095d634d default
r88:f32104ea default
Show More
urls.py
25 lines | 860 B | text/x-python | PythonLexer
from django.conf.urls import patterns, url, include
from boards import views
urlpatterns = patterns('',
# /boards/
url(r'^$', views.index, name='index'),
# /boards/page/
url(r'^page/(?P<page>\w+)/$', views.index, name='index'),
# login page
url(r'^login$', views.login, name='login'),
# logout page
url(r'^logout$', views.logout, name='logout'),
# /boards/tag/tag_name/
url(r'^tag/(?P<tag_name>\w+)/$', views.tag, name='tag'),
# /boards/tag/tag_id/page/
url(r'^tag/(?P<tag_name>\w+)/page/(?P<page>\w+)/$', views.tag, name='tag'),
# /boards/thread/
url(r'^thread/(?P<post_id>\w+)/$', views.thread, name='thread'),
# /boards/theme/theme_name/
url(r'^settings$', views.settings, name='settings'),
url(r'^tags$', views.all_tags, name='tags'),
url(r'^captcha/', include('captcha.urls')),
)