Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

143 lines (117 sloc) 4.358 kB

Example App

An example is worth a thousand words. Here's an example Pyramid application demonstrating how one might use :mod:`deform` to render a form. For it to work you'll need to have deform, pyramid, and pyramid_chameleon installed in your python environment.

Warning

:mod:`deform` is not dependent on :mod:`pyramid` at all; we use Pyramid in the examples below only to facilitate demonstration of an actual end-to-end working application that uses Deform.

Here's the Python code:

Here's the Chameleon ZPT template named form.pt, placed in the same directory:

Jump to Line
Something went wrong with that request. Please try again.