rss/urls.py @ a026ed8b4c6f
Mmm, candy.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Thu, 19 Mar 2009 18:30:21 -0400 |
parents | 677d5ff5c56e |
children | a3380ed37242 |
from django.conf.urls.defaults import * from stevelosh.rss.feeds import * feeds = { 'blog': LatestEntries, 'comments': LatestComments, 'projects': LatestProjects, 'photoblog': LatestPhotoBlogEntries, 'all': LatestEverything, } urlpatterns = patterns('stevelosh.rss.views', url(r'^(?P<url>.+)/$', 'feeds', {'feed_dict': feeds}), )