#16597 closed Bug (fixed)
FormWizard doco mentions get_template_names() but does not document it.
Reported by: | FunkyBob | Owned by: | Jeff Kistler |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
Under the section "Creating templates for the forms" in https://docs.djangoproject.com/en/dev//ref/contrib/formtools/form-wizard/#creating-templates-for-the-forms it says "You can change this template name by overriding either the template_name attribute or the get_template_names() method, which is documented below", but it is not listed anywhere else on the page.
Given it inherits from a TemplateView, it should probably link off to the TemplateView.get_template_names doco: https://docs.djangoproject.com/en/dev//ref/class-based-views/#django.views.generic.base.TemplateResponseMixin.get_template_names
Attachments (1)
Change History (7)
comment:1 by , 13 years ago
Triage Stage: | Unreviewed → Accepted |
---|
by , 13 years ago
Attachment: | 16597_patch.diff added |
---|
comment:2 by , 13 years ago
Owner: | changed from | to
---|
comment:3 by , 13 years ago
comment:4 by , 13 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:5 by , 13 years ago
Has patch: | set |
---|
Added a patch that points to the TemplateResponseMixin documentation explaining get_template_names()