Ticket #16597: 16597_patch.diff

File 16597_patch.diff, 901 bytes (added by Jeff Kistler, 7 years ago)
  • docs/ref/contrib/formtools/form-wizard.txt

    diff --git a/docs/ref/contrib/formtools/form-wizard.txt b/docs/ref/contrib/formtools/form-wizard.txt
    index 2645c28..5b17183 100644
    a b Next, you'll need to create a template that renders the wizard's forms. By 
    148148default, every form uses a template called
    149149:file:`formtools/wizard/wizard_form.html`. You can change this template name
    150150by overriding either the :attr:`~WizardView.template_name` attribute or the
    151 :meth:`~WizardView.get_template_names()` method, which is documented below.
     151:meth:`~WizardView.get_template_names()` method, which is documented in the
     152:class:`~django.views.generic.base.TemplateResponseMixin` documentation.
    152153This hook also allows you to use a different template for each form.
    154155This template expects a ``wizard`` object that has various items attached to
Back to Top