2011-10-17 01:34:04 +02:00
|
|
|
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'),
|
2011-10-29 01:37:55 +02:00
|
|
|
(r'^atom/$', 'atom'),
|
2011-10-17 01:34:04 +02:00
|
|
|
)
|