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 6 years ago by jacob
- milestone set to 1.1
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
comment:2 Changed 6 years ago by jacob
- Owner changed from nobody to jacob
- Status changed from new to assigned
comment:3 Changed 6 years ago by jacob
- Resolution set to fixed
- Status changed from assigned to closed