#1285 closed defect (fixed)
Documentation error in the DB API about Relationships
Reported by: | Owned by: | Jacob | |
---|---|---|---|
Component: | Documentation | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
http://www.djangoproject.com/documentation/db_api/#relationships-joins
In the beggining of the text, there is a part that say:
"For example, if p is a Poll instance, p.get_choice_list() will return a list of all associated choices. Astute readers will note that this is the same as choices.get_list(poll_idexact=p.id), except clearer."
The correct is:
choices.get_list(pollidexact=p.id)
Change History (2)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Oh c'mon Trac :P