~ubuntu-branches/ubuntu/quantal/python-django/quantal

« back to all changes in this revision

Viewing changes to docs/ref/contrib/formtools/form-preview.txt

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2008-11-15 19:15:33 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20081115191533-xbt1ut2xf4fvwtvc
Tags: 1.0.1-0ubuntu1
* New upstream release:
  - Bug fixes.

* The tests/ sub-directory appaers to have been dropped upstream, so pull
  our patch to workaround the tests and modify the rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
      a. If it's valid, displays a preview page.
28
28
      b. If it's not valid, redisplays the form with error messages.
29
29
   3. When the "confirmation" form is submitted from the preview page, calls
30
 
       a hook that you define -- a
31
 
       :meth:`~django.contrib.formtools.FormPreview.done()` method that gets
32
 
       passed the valid data.
 
30
      a hook that you define -- a
 
31
      :meth:`~django.contrib.formtools.FormPreview.done()` method that gets
 
32
      passed the valid data.
33
33
 
34
34
The framework enforces the required preview by passing a shared-secret hash to
35
35
the preview page via hidden form fields. If somebody tweaks the form parameters