#26477 closed Bug (fixed)
Docs: Example about bookmarks mentions books
| Reported by: | Mikkel Munch Mortensen | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
In the docs about the contenttypes framework, there's an example of using related_query_name for GenericRelation. In the second part of the code example, the comment says:
Get all tags belonging to books containing `django` in the url
But the example is about bookmarks, not books.
I have attached a patch for this. I'd be happy to provide it via a pull request on GitHub, if that is a better of contributing a tiny fix like this.
Attachments (1)
Change History (6)
by , 10 years ago
| Attachment: | contenttypes-docs-fix.patch added |
|---|
comment:1 by , 10 years ago
Sorry for unsetting these. It happened while trying to set the "has patch" flag.
comment:2 by , 10 years ago
| Has patch: | set |
|---|
Note:
See TracTickets
for help on using tickets.
A patch to replace "books" with "bookmarks"