#18131 closed Bug (fixed)
ContentTypeManager.get_for_id not documented
Reported by: | Sergey Fedoseev | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.4 |
Severity: | Normal | Keywords: | |
Cc: | Sergey Fedoseev, timograham@… | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
get_for_id
is not listed among ContentTypeManager methods.
The only mention of caching is in description of clear_cache method, but documentation should say that get_* methods are cached and using them is preferred way to get ContentType.
Attachments (1)
Change History (9)
comment:1 by , 13 years ago
Component: | Uncategorized → Documentation |
---|
comment:2 by , 13 years ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Type: | Uncategorized → Bug |
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 12 years ago
Cc: | added |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
I see no changes there for fixing this bug.
comment:5 by , 12 years ago
Description: | modified (diff) |
---|
Corrected name of undocumented method in original description.
by , 12 years ago
Attachment: | 18131.diff added |
---|
comment:6 by , 12 years ago
Cc: | added |
---|---|
Has patch: | set |
Summary: | insufficient info about ContentTypeManager → ContentTypeManager.get_for_id not documented |
comment:7 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.
Sorry, get_for_id should be in description instead of get_for_model.