Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Form libraries discussion.

  • Loading branch information...
commit 48f7568bf1628a2a5ba7057a71a498c3ec239c9f 1 parent a3dea04
Mike Orr mikeorr authored

Showing 2 changed files with 29 additions and 0 deletions. Show diff stats Hide diff stats

  1. +26 0 forms/index.rst
  2. +3 0  links.rst
26 forms/index.rst
Source Rendered
... ... @@ -1,6 +1,32 @@
1 1 Forms
2 2 %%%%%
3 3
  4 +Pyramid does not include a form library because there are several good ones on
  5 +PyPI, but none that is obviously better than the others.
  6 +
  7 +Deform_ is a form library written for Pyramid, and maintained by the Pylons
  8 +Project. It has a `demo <https://github.com/Pylons/deform>`_.
  9 +
  10 +You can use WebHelpers and FormEncode in Pyramid just like in Pylons. Use
  11 +pyramid_simpleform_ to organize your view code. (This replaces Pylons'
  12 +@validate decorator, which has no equivalent in Pyramid.) FormEncode's
  13 +documentation is a bit obtuse and sparse, but it's so widely flexible that you
  14 +can do things in FormEncode that you can't in other libraries, and you can also
  15 +use it for non-HTML validation; e.g., to validate the settings in the INI file.
  16 +
  17 +Some Pyramid users have had luck with WTForms, Formish, ToscaWidgets, etc.
  18 +
  19 +There are also form packages tied to database records, most notably
  20 +FormAlchemy. These will publish a form to add/modify/delete records of a
  21 +certain ORM class.
  22 +
  23 +
  24 +Articles
  25 +--------
  26 +
4 27 .. toctree::
5 28
6 29 file_uploads
  30 +
  31 +
  32 +.. include:: ../links.rst
3  links.rst
Source Rendered
@@ -31,3 +31,6 @@

0 comments on commit 48f7568

Please sign in to comment.
Something went wrong with that request. Please try again.