from feeds import TestRssFeed, TestAtomFeed, TestCustomFeed, ComplexFeed from django.conf.urls.defaults import patterns feed_dict = { 'complex': ComplexFeed, 'rss': TestRssFeed, 'atom': TestAtomFeed, 'custom': TestCustomFeed, } urlpatterns = patterns('', (r'^feeds/(?P.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feed_dict}) )