mirror of https://github.com/django/django.git
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:
parent
34560e0776
commit
72d8e07de4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue