Opened 8 years ago

Closed 8 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: master
Severity: Keywords: feeds syndication item_link
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

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 Changed 8 years ago by ubernostrum

  • Resolution set to fixed
  • Status changed from new to closed

(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