rss/urls.py @ 86efdd0bd8ca

Reduce the number of items in the RSS feed to five.
author Steve Losh <steve@stevelosh.com>
date Thu, 18 Jun 2009 01:41:47 -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}),
)