summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-11-20 04:53:28 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-11-20 04:53:28 +0000
commit72d8e07de42639fb653f62ff5a135d42b818b7b2 (patch)
treed8c90e6415d687d1cdeedad26d12747849289645 /docs
parent34560e0776e9ca090298df3fea2344743d5664cb (diff)
Fixed #846 -- Fixed bug in docs/syndication_feeds.txt. Thanks, deric
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/syndication_feeds.txt6
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