diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/syndication_feeds.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/syndication_feeds.txt b/docs/syndication_feeds.txt index 94c10180ad..d234c2b7ec 100644 --- a/docs/syndication_feeds.txt +++ b/docs/syndication_feeds.txt @@ -328,7 +328,11 @@ Feed class reference This example illustrates all possible attributes and methods for a ``Feed`` class:: - class ExampleFeed(rss.Feed): + + from django.contrib.syndication.feeds import Feed + from django.utils import feedgenerator + + class ExampleFeed(Feed): # FEED TYPE -- Optional. This should be a class that subclasses # django.utils.feedgenerator.SyndicationFeed. This designates which |
