Ticket #9147: process_preview_doc.diff

File process_preview_doc.diff, 881 bytes (added by thalin, 8 years ago)

Basic docs for process_preview; indicating new in 1.2

  • docs/ref/contrib/formtools/form-preview.txt

    108108:attr:`~django.contrib.formtools.FormPreview.form_template` attributes on the
    109109FormPreview subclass. See :file:`django/contrib/formtools/templates` for the
    110110default templates.
     112Advanced ``FormPreview`` methods
     115.. versionadded:: 1.2
     117.. method:: FormPreview.process_preview
     119    Given a validated form, performs any extra processing before displaying the
     120    preview page, and saves any extra data in context.
     122    By default, this method is empty.  It is called after the form is validated
     123    and before the context is modified with hash information and rendered.
Back to Top