blog/urls.py @ 444fa384fab8

Got a working photoblog (almost).
author Steve Losh <steve@stevelosh.com>
date Sat, 14 Feb 2009 12:39:39 -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'),
)