My understanding is that these features are kept out of the Pyramid core in order, as you say, to maintain flexibility and keep things lightweight. You can pick your own library to slot into your stack for this.
I have used Deform (http://docs.pylonsproject.org/projects/deform/en/latest/) for form generation, which in turn uses Colander for validation. Have a look at: http://deformdemo.repoze.org/ for a demo of capabilities There is also a package, pyramid_formalchemy ( http://docs.formalchemy.org/pyramid_formalchemy) which will do CRUD based on SQLAlchemy models, but I haven't used it personally. Ben On 12 December 2011 10:23, rihad <[email protected]> wrote: > Hi, all. Does Pyramid (or Sqlalchemy) offer any kind of model > validation? Like, min/max value/length a numerical/textual value may > have. On the same note, how come there's no support for HTML forms? A > form thing which would preferably grab fields from a model to avoid > duplicating stuff. Or are we talking lightweight here? :) > > -- > 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.
