~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/doc/launchpadform.txt

  • Committer: Curtis Hovey
  • Date: 2012-01-05 19:54:26 UTC
  • mto: This revision was merged to the branch mainline in revision 14644.
  • Revision ID: curtis.hovey@canonical.com-20120105195426-v4y8tqb2ea2chkm1
Removed safe_action from webapp globs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
528
528
However, there are cases where a form action is safe (e.g. a "search"
529
529
action).  Those actions can be marked as such:
530
530
 
531
 
  >>> from lp.services.webapp import safe_action
 
531
  >>> from lp.app.browser.launchpadform import safe_action
532
532
  >>> class UnsafeActionTestView(LaunchpadFormView):
533
533
  ...     schema = IFormTest
534
534
  ...     field_names = ['name']