Fixed #5860: Documented the correct order in which the syndication framework tries methods for generating item links.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
1087dc31fb
commit
f3d5372340
|
@ -603,8 +603,9 @@ This example illustrates all possible attributes and methods for a ``Feed`` clas
|
|||
# ITEM LINK -- One of these three is required. The framework looks for
|
||||
# them in this order.
|
||||
|
||||
# First, the framework tries the get_absolute_url() method on each item
|
||||
# returned by items(). Failing that, it tries these two methods:
|
||||
# First, the framework tries the two methods below, in
|
||||
# order. Failing that, it falls back to the get_absolute_url()
|
||||
# method on each item returned by items().
|
||||
|
||||
def item_link(self, item):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue