#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 by , 19 years ago
comment:2 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Oh c'mon Trac :P