SqlAlchemy and WTFormsAlchemy have many mecanisms to facilitate database in/out operations.
Ex:
To get the object from a form, we could just, according to the creator of WTForms-Alchemy, do this:
However, the view returned, contains objects that are not originaly contained inside. This is the case with sorters and groupers that magically appears in the view object. This is resulting into some difficulties to get the objects commited. Thus, to facilitate code maintenance, we must find a better way to update the objects.
SqlAlchemy and WTFormsAlchemy have many mecanisms to facilitate database in/out operations. Ex: To get the object from a form, we could just, according to the creator of WTForms-Alchemy, do this:
However, the view returned, contains objects that are not originaly contained inside. This is the case with sorters and groupers that magically appears in the view object. This is resulting into some difficulties to get the objects commited. Thus, to facilitate code maintenance, we must find a better way to update the objects.
Related issue https://github.com/kvesteri/wtforms-alchemy/issues/32