Opened 13 years ago
Closed 13 years ago
#18113 closed Cleanup/optimization (fixed)
Class based view mixin docstrings reference incorrect method
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | get_template CBV |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Both the SingleObjectTemplateResponseMixin and the MultipleObjectTemplateResponseMixin (detail and list, respectively) have the following docstring for the method get_template_names()
Return a list of template names to be used for the request. Must return a list. May not be called if get_template is overridden.
However, looking through all the generic views, and grepping SVN trunk, I can't find anywhere get_template itself is being defined, or used. The closest thing I can find is the legacy form wizard having that method.
Change History (2)
comment:1 by , 13 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In [ed7ea5a6020cb3e09a7f05c4206a11196766bbd2]: