rss/urls.py @ 8c03bf5d3f9f

Group the snip code so it appears correctly.
author Steve Losh <steve@stevelosh.com>
date Sun, 23 Aug 2009 08:55:31 -0400
parents afec18ea1700
children (none)
from django.conf.urls.defaults import *
from stevelosh.rss.feeds import *

feeds = { 'comments': LatestComments,
          'all': LatestEverything, }

urlpatterns = patterns('',
    url(r'^(?P<url>.+)/$', 'django.contrib.syndication.views.feed', 
        {'feed_dict': feeds}),
)