Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #5860: Documented the correct order in which the syndication fr…

…amework tries methods for generating item links.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit f3d5372340a2baea9f29bcec93d2163fff3461a0 1 parent 1087dc3
@ubernostrum ubernostrum authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 docs/syndication_feeds.txt
View
5 docs/syndication_feeds.txt
@@ -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):
"""
Please sign in to comment.
Something went wrong with that request. Please try again.