mistake in documentation
|Reported by:||liangent||Owned by:||Jacob|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
To specify the contents of <link>, you have two options. For each item in items(), Django first tries executing a get_absolute_url() method on that object. If that method doesn't exist, it tries calling a method item_link() in the Feed class, passing it a single parameter, item, which is the object itself.
# ITEM LINK -- One of these three is required. The framework looks for
# them in this order.
# 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().
they tell us two different orders. according to my test, the latter is correct.
Change History (4)
comment:1 Changed 7 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|