mirror of https://github.com/django/django.git
Fixed #9556 - typos in syndication docs. Thanks sedden.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
c367e2869e
commit
c672e44ea9
|
@ -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::
|
For example, you might start implementing an iTunes RSS feed generator like so::
|
||||||
|
|
||||||
class iTunesFeed(Rss201rev2Feed):
|
class iTunesFeed(Rss201rev2Feed):
|
||||||
def root_attibutes(self):
|
def root_attributes(self):
|
||||||
attrs = super(iTunesFeed, self).root_attibutes()
|
attrs = super(iTunesFeed, self).root_attributes()
|
||||||
attrs['xmlns:itunes'] = 'http://www.itunes.com/dtds/podcast-1.0.dtd'
|
attrs['xmlns:itunes'] = 'http://www.itunes.com/dtds/podcast-1.0.dtd'
|
||||||
return attrs
|
return attrs
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue