Pulled out the URLs into app-specific files.
It's so much cleaner!
author |
Steve Losh <steve@stevelosh.com> |
date |
Fri, 13 Feb 2009 20:40:27 -0500 |
parents |
(none) |
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'),
)