Showing with 11 additions and 7 deletions.
  1. +11 −7 docs/syndication_feeds.txt
View
18 docs/syndication_feeds.txt
@@ -418,18 +418,20 @@ This example illustrates all possible attributes and methods for a ``Feed`` clas
# GUID -- One of the following three is optional. The framework looks
# for them in this order. This property is only used for Atom feeds
- # (where it is the feed-level id element). If not provided, the feed
- # link is used as the id.
+ # (where it is the feed-level ID element). If not provided, the feed
+ # link is used as the ID.
+ #
+ # (New in Django development version)
def feed_guid(self, obj):
"""
Takes the object returned by get_object() and returns the globally
- unique id for the feed as a normal Python string.
+ unique ID for the feed as a normal Python string.
"""
def feed_guid(self):
"""
- Returns the feed's globally unique id as a normal Python string.
+ Returns the feed's globally unique ID as a normal Python string.
"""
feed_guid = '/foo/bar/1234' # Hard-coded guid.
@@ -575,15 +577,17 @@ This example illustrates all possible attributes and methods for a ``Feed`` clas
"""
# ITEM_GUID -- The following method is optional. This property is
- # only used for Atom feeds (it is the id element for an item in an
+ # only used for Atom feeds (it is the ID element for an item in an
# Atom feed). If not provided, the item's link is used by default.
+ #
+ # (New in Django development version)
def item_guid(self, obj):
"""
- Takes an item, as return by items(), and returns the item's id.
+ Takes an item, as return by items(), and returns the item's ID.
"""
- # ITEM AUTHOR NAME --One of the following three is optional. The
+ # ITEM AUTHOR NAME -- One of the following three is optional. The
# framework looks for them in this order.
def item_author_name(self, item):

0 comments on commit 0c5d001

Please sign in to comment.