gergelypolonkai-web-django/blog/urls.py

13 lines
816 B
Python
Raw Normal View History

2013-09-24 13:54:41 +00:00
from django.conf.urls import patterns, url
from blog import views
urlpatterns = patterns('',
2013-10-01 19:17:41 +00:00
url(r'^$', views.index, name='index'),
url(r'^feed$', views.feed, name='feed'),
2013-10-01 19:18:11 +00:00
url(r'^tag/(?P<tag>.*)$', views.taglist, name='taglist'),
2013-10-01 19:17:41 +00:00
url(r'^(?P<year>\d+)/(?P<month>\d+)/(?P<day>\d+)/(?P<slug>[^/]+)$', views.read, name='read'),
url(r'^resume', views.resume, name='resume'),
url(r'^about', views.resume, name='about'),
url(r'^disclaimer', views.resume, name='disclaimer'),
2013-09-24 13:54:41 +00:00
)