mirror of
https://github.com/django/django.git
synced 2025-09-26 20:19:16 +00:00
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
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue