blog/urls.py @ 677d5ff5c56e

Pretty much done with the photo blog.
author Steve Losh <steve@stevelosh.com>
date Sun, 15 Feb 2009 00:34:21 -0500
parents 315df6ca542d
children 9f1be6d74c1b
from django.conf.urls.defaults import *

urlpatterns = patterns('stevelosh.blog.views',
    url(r'^$',                              'list',      name='blog-list-newest'),
    url(r'^page/(\d+)/$',                   'list',      name='blog-list-page'),
    url(r'^comment/$',                      'comment',   name='blog-post-comment'),
    url(r'^entry/(\d+)/(\d+)/(\d+)/(.*)/$', 'entry',     name='blog-entry'),
    url(r'^(\d+)/(\d+)/(\d+)/(.*).html/$',  'old_entry', name='blog-old-entry'),
)