legacy-dotfiles/blog/urls.py
2011-10-29 01:37:55 +02:00

10 lines
357 B
Python

from django.conf.urls.defaults import *
urlpatterns = patterns('blog.views',
(r'^$', 'index'),
(r'^(?P<page>\d+)/$', 'index'),
(r'^post/(?P<post_id>\d+)/$', 'post'),
(r'^tags/$', 'tags'),
(r'^tag/(?P<tag_name>[\w_]+)/$', 'tag'),
(r'^atom/$', 'atom'),
)