[1.0.X] Fixed #9556 - typos in syndication docs. Thanks sedden.
[9373] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
3ced836c73
commit
a24d80f193
|
@ -976,8 +976,8 @@ attributes. Thus, you can subclass the appropriate feed generator class
|
|||
For example, you might start implementing an iTunes RSS feed generator like so::
|
||||
|
||||
class iTunesFeed(Rss201rev2Feed):
|
||||
def root_attibutes(self):
|
||||
attrs = super(iTunesFeed, self).root_attibutes()
|
||||
def root_attributes(self):
|
||||
attrs = super(iTunesFeed, self).root_attributes()
|
||||
attrs['xmlns:itunes'] = 'http://www.itunes.com/dtds/podcast-1.0.dtd'
|
||||
return attrs
|
||||
|
||||
|
|
Loading…
Reference in New Issue