rss/urls.py @ dbf5fe560ec3

Add the snip functions and use them for the admin.
author Steve Losh <steve@stevelosh.com>
date Sat, 22 Aug 2009 10:17:28 -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}),
)