Django

Code

Ticket #5860 (closed: fixed)

Opened 1 year ago

Last modified 11 months ago

The mentioned order of checking item_link for feeds is wrong

Reported by: omat@gezgin.com Assigned to: nobody
Milestone: Component: Documentation
Version: SVN Keywords: feeds syndication item_link
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation:
Needs tests: Patch needs improvement:

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

Change History

12/01/07 14:08:45 changed by ubernostrum

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #5860 (The mentioned order of checking item_link for feeds is wrong)




Change Properties
Action