Commit 72d8e07d authored by Adrian Holovaty's avatar Adrian Holovaty
Browse files

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
parent 34560e07
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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