2
0
Эх сурвалжийг харах

Fixed #8475 -- Corrected typo in example code in syndication docs. Thanks to bernd for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Russell Keith-Magee 16 жил өмнө
parent
commit
87170c72f9

+ 1 - 1
docs/ref/contrib/syndication.txt

@@ -979,7 +979,7 @@ 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()
-            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
             
         def add_root_elements(self, handler):