Opened 17 years ago

Closed 16 years ago

#5860 closed (fixed)

The mentioned order of checking item_link for feeds is wrong

Reported by: omat@… Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords: feeds syndication item_link
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In the documentation for syndication feeds, it is stated that Django checks the items' get_absolute_url() first, but actually it is checked last, as it should be.

http://www.djangoproject.com/documentation/syndication_feeds/#feed-class-reference

    # 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:

Change History (1)

comment:1 by James Bennett, 16 years ago

Resolution: fixed
Status: newclosed

(In [6806]) Fixed #5860: Documented the correct order in which the syndication framework tries methods for generating item links.

Note: See TracTickets for help on using tickets.
Back to Top