Yep that did the trick. I believe I was trying to pass a dict instead of an
object last night when I hit the error. Oh well...
Thanks a bunch!
On 8 April 2018 at 15:29, Michael Merickel wrote:
> Validation libraries tend to have a way to pass some user-defined state
> down
Validation libraries tend to have a way to pass some user-defined state
down through the validators. It looks like in formencode you can do this as
well via the state argument [1]. You would likely want to pass a dict down
containing either the request or the dbsession and then your validators can
Hi folks,
I want to make a schema + a form connecting to SQLAlchemy and be able to
identify if an username is unique and emails are unique. I am using these
as a base:
https://docs.pylonsproject.org/projects/pyramid-simpleform/en/latest/