2013-09-24 13:54:41 +00:00
|
|
|
from django.conf.urls import patterns, url
|
|
|
|
from blog import views
|
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
2013-10-14 10:12:50 +00:00
|
|
|
url(r'^$', views.index, name='index'),
|
|
|
|
url(r'^page/(?P<page>\d+)$', views.indexpage, name='indexpage'),
|
|
|
|
url(r'^tag/(?P<tag>[^/]+)$', views.taglist, name='taglist'),
|
|
|
|
url(r'^tag/(?P<tag>[^/]+)/page/(?P<page>\d+)$', views.tagpage, name='tagpage'),
|
|
|
|
url(r'^(?P<year>\d+)/(?P<month>\d+)/(?P<day>\d+)/(?P<slug>[^/]+)$', views.read, name='read'),
|
|
|
|
url(r'^feed$', views.feed, name='feed'),
|
2013-09-24 13:54:41 +00:00
|
|
|
)
|