If you are looking for a complete form library, there are a few that fit nicely into Pyramid. I've had success with and would recommend deform:
https://docs.pylonsproject.org/projects/deform/dev/ The demo site provides nice examples of its capabilities: http://deformdemo.repoze.org/ and there is a full example of an integration with Pyramid to get you started: https://pylonsproject.org/projects/deform/dev/app.html It will do validation and generation and has various widgets which are easier than building HTML by hand. While it doesn't depend on Pyramid, they are, let's say, good friends. You might also want to consider pyramid_formalchemy (CRUD generation from SQLAlchemy), pyramid_simpleform and I'm sure there are many others that people could recommend. Ben On 30 August 2011 14:09, Ben Sizer <[email protected]> wrote: > I'm putting together a form, and looking for ways to do it, and > although I'm used to just writing the HTML by hand, I'll happily use > something to generate it also. The webhelpers.html.tag stuff looks > like it would work: but are there any examples of people using this > with Pyramid? The docs contain many tiny snippets that demonstrate > what each individual object and function does, but there doesn't > appear to be anywhere giving 1 complete example of a typical usage as > part of a view. > > I'm hoping for something similar to > http://turbogears.org/2.0/docs/main/FormBasics.html > or https://docs.djangoproject.com/en/dev/topics/forms/#form-objects > > -- > Ben Sizer > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
