Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.1.X] Fixed #11973 -- Corrected some misleading documentation regar…

…ding the feed_copyright attribute on feeds.

Backport of a small part of r12338 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 2777cd37a8ceb04e3d4b28de674f9600ff0e0b4a 1 parent dcd5849
Russell Keith-Magee authored January 28, 2010

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  docs/ref/contrib/syndication.txt
6  docs/ref/contrib/syndication.txt
@@ -572,18 +572,18 @@ This example illustrates all possible attributes and methods for a
572 572
         # COPYRIGHT NOTICE -- One of the following three is optional. The
573 573
         # framework looks for them in this order.
574 574
 
575  
-        def copyright(self, obj):
  575
+        def feed_copyright(self, obj):
576 576
             """
577 577
             Takes the object returned by get_object() and returns the feed's
578 578
             copyright notice as a normal Python string.
579 579
             """
580 580
 
581  
-        def copyright(self):
  581
+        def feed_copyright(self):
582 582
             """
583 583
             Returns the feed's copyright notice as a normal Python string.
584 584
             """
585 585
 
586  
-        copyright = 'Copyright (c) 2007, Sally Smith' # Hard-coded copyright notice.
  586
+        feed_copyright = 'Copyright (c) 2007, Sally Smith' # Hard-coded copyright notice.
587 587
 
588 588
         # TTL -- One of the following three is optional. The framework looks
589 589
         # for them in this order. Ignored for Atom feeds.

0 notes on commit 2777cd3

Please sign in to comment.
Something went wrong with that request. Please try again.