Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Form libraries discussion.

  • Loading branch information...
commit 48f7568bf1628a2a5ba7057a71a498c3ec239c9f 1 parent a3dea04
@mikeorr mikeorr authored
Showing with 29 additions and 0 deletions.
  1. +26 −0 forms/index.rst
  2. +3 −0  links.rst
26 forms/index.rst
@@ -1,6 +1,32 @@
+Pyramid does not include a form library because there are several good ones on
+PyPI, but none that is obviously better than the others.
+Deform_ is a form library written for Pyramid, and maintained by the Pylons
+Project. It has a `demo <>`_.
+You can use WebHelpers and FormEncode in Pyramid just like in Pylons. Use
+pyramid_simpleform_ to organize your view code. (This replaces Pylons'
+@validate decorator, which has no equivalent in Pyramid.) FormEncode's
+documentation is a bit obtuse and sparse, but it's so widely flexible that you
+can do things in FormEncode that you can't in other libraries, and you can also
+use it for non-HTML validation; e.g., to validate the settings in the INI file.
+Some Pyramid users have had luck with WTForms, Formish, ToscaWidgets, etc.
+There are also form packages tied to database records, most notably
+FormAlchemy. These will publish a form to add/modify/delete records of a
+certain ORM class.
.. toctree::
+.. include:: ../links.rst
3  links.rst
@@ -31,3 +31,6 @@
.. _SQLAlchemy manual:
.. _pyramid_handlers:
.. _pyramid_routehelper:
+.. _Deform:
+.. _pyramid_simpleform:
Please sign in to comment.
Something went wrong with that request. Please try again.