Code

Opened 6 years ago

Closed 6 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:

Attachments (0)

Change History (1)

comment:1 Changed 6 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.