Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#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)

16597_patch.diff (901 bytes ) - added by Jeff Kistler 13 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by Aymeric Augustin, 13 years ago

Triage Stage: UnreviewedAccepted

by Jeff Kistler, 13 years ago

Attachment: 16597_patch.diff added

comment:2 by Jeff Kistler, 13 years ago

Owner: changed from nobody to Jeff Kistler

comment:3 by Jeff Kistler, 13 years ago

Added a patch that points to the TemplateResponseMixin documentation explaining get_template_names()

comment:4 by Jannis Leidel, 13 years ago

Triage Stage: AcceptedReady for checkin

comment:5 by Jeff Kistler, 13 years ago

Has patch: set

comment:6 by Ramiro Morales, 13 years ago

Resolution: fixed
Status: newclosed

In [16904]:

Fixed #16597 -- Added Sphinx cross-reference metadata to the form wizard docs. Thanks FunkyBob for the report and jkistler for the patch.

Also, additional fixes in that document and in the WizardView docstrings.

Note: See TracTickets for help on using tickets.
Back to Top