kvesteri / wtforms-alchemy

Tools for creating wtforms from sqlalchemy models
Other
245 stars 59 forks source link

Fix issue #86 #129

Closed GregoryVigoTorres closed 2 years ago

GregoryVigoTorres commented 6 years ago

I think this fixes issues #116 and #86. The Unique validator now determines if the object referenced by the form refers to the same object containing the non-unique columns. If the objects reference the same persistent item the submitted values are not considered to be non-unique.

paulocoutinhox commented 5 years ago

Hi,

What left to include this?

Thanks.

GregoryVigoTorres commented 5 years ago

Sorry, I can't remember the context of this PR.