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
This commit is contained in:
Adrian Holovaty 2005-11-20 04:53:28 +00:00
parent 34560e0776
commit 72d8e07de4
1 changed files with 5 additions and 1 deletions

View File

@ -328,7 +328,11 @@ Feed class reference
This example illustrates all possible attributes and methods for a ``Feed`` class:: 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 # FEED TYPE -- Optional. This should be a class that subclasses
# django.utils.feedgenerator.SyndicationFeed. This designates which # django.utils.feedgenerator.SyndicationFeed. This designates which