1 from django
.conf
.urls
.defaults
import patterns
2 from django
.core
.exceptions
import ObjectDoesNotExist
3 from django
.contrib
.syndication
import feeds
6 class ComplexFeed(feeds
.Feed
):
7 def get_object(self
, bits
):
9 raise ObjectDoesNotExist
13 urlpatterns
= patterns('',
14 (r
'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {
16 complex = ComplexFeed
,